Add helm charts
This commit is contained in:
parent
e95f1fef4a
commit
a1069c1d21
1 changed files with 377 additions and 0 deletions
15
decla-red/templates/tests/test-connection.yaml
Normal file
15
decla-red/templates/tests/test-connection.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "{{ include "decla-red.fullname" . }}-test-connection"
|
||||
labels:
|
||||
{{- include "decla-red.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
"helm.sh/hook": test-success
|
||||
spec:
|
||||
containers:
|
||||
- name: wget
|
||||
image: busybox
|
||||
command: ['wget']
|
||||
args: ['{{ include "decla-red.fullname" . }}:{{ .Values.service.port }}']
|
||||
restartPolicy: Never
|
||||
Loading…
Reference in a new issue