mirror of https://github.com/helm/helm
parent
64d4399f06
commit
fd157b5a35
@ -1,13 +1,14 @@
|
|||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: testCRDs
|
name: testcrds.testcrdgroups.example.com
|
||||||
spec:
|
spec:
|
||||||
group: testCRDGroups
|
group: testcrdgroups.example.com
|
||||||
|
version: v1alpha1
|
||||||
names:
|
names:
|
||||||
kind: TestCRD
|
kind: TestCRD
|
||||||
listKind: TestCRDList
|
listKind: TestCRDList
|
||||||
plural: TestCRDs
|
plural: testcrds
|
||||||
shortNames:
|
shortNames:
|
||||||
- tc
|
- tc
|
||||||
singular: authconfig
|
singular: authconfig
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}-testconfig"
|
||||||
|
data:
|
||||||
|
message: Hello World
|
@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}-test"
|
||||||
|
annotations:
|
||||||
|
"helm.sh/hook": test
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: test
|
||||||
|
image: "alpine:latest"
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: "{{ .Release.Name }}-testconfig"
|
||||||
|
command:
|
||||||
|
- echo
|
||||||
|
- "$message"
|
||||||
|
restartPolicy: Never
|
Loading…
Reference in new issue