master
Marius Ensrud 5 years ago
parent 20d69cc296
commit c877d1af9f

@ -56,14 +56,15 @@ spec:
- name: http
containerPort: 80
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
# livenessProbe:
# httpGet:
# path: /
# port: http
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 120
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:

@ -1,15 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "wordpress.fullname" . }}-test-connection"
labels:
{{- include "wordpress.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "wordpress.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never

@ -30,16 +30,16 @@ env:
podAnnotations: {}
podSecurityContext:
fsGroup: 2000
podSecurityContext: {}
# fsGroup: 2000
securityContext:
capabilities:
drop:
- ALL
# readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
securityContext: {}
# capabilities:
# drop:
# - ALL
# # readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP

Loading…
Cancel
Save