master
Marius Ensrud 5 years ago
parent 20d69cc296
commit c877d1af9f

@ -56,14 +56,15 @@ spec:
- name: http - name: http
containerPort: 80 containerPort: 80
protocol: TCP protocol: TCP
livenessProbe: # livenessProbe:
httpGet: # httpGet:
path: / # path: /
port: http # port: http
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /
port: http port: http
initialDelaySeconds: 120
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
volumes: 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: {} podAnnotations: {}
podSecurityContext: podSecurityContext: {}
fsGroup: 2000 # fsGroup: 2000
securityContext: securityContext: {}
capabilities: # capabilities:
drop: # drop:
- ALL # - ALL
# readOnlyRootFilesystem: true # # readOnlyRootFilesystem: true
runAsNonRoot: true # runAsNonRoot: true
runAsUser: 1000 # runAsUser: 1000
service: service:
type: ClusterIP type: ClusterIP

Loading…
Cancel
Save