mirror of https://github.com/helm/helm
parent
64d4399f06
commit
fd157b5a35
@ -1,13 +1,14 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: testCRDs
|
||||
name: testcrds.testcrdgroups.example.com
|
||||
spec:
|
||||
group: testCRDGroups
|
||||
group: testcrdgroups.example.com
|
||||
version: v1alpha1
|
||||
names:
|
||||
kind: TestCRD
|
||||
listKind: TestCRDList
|
||||
plural: TestCRDs
|
||||
plural: testcrds
|
||||
shortNames:
|
||||
- tc
|
||||
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