Added wordpress chart

This commit is contained in:
Jonathan Ervine
2020-07-31 08:44:31 +08:00
parent 605174f2a1
commit 8ffb49451f
10 changed files with 327 additions and 0 deletions
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "wordpress.fullname" . }}-test-connection"
labels:
{{ include "wordpress.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "wordpress.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never