diff --git a/charts/wordpress/templates/deployment.yaml b/charts/wordpress/templates/deployment.yaml index 6a06867..c1b764a 100644 --- a/charts/wordpress/templates/deployment.yaml +++ b/charts/wordpress/templates/deployment.yaml @@ -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: diff --git a/charts/wordpress/templates/tests/test-connection.yaml b/charts/wordpress/templates/tests/test-connection.yaml deleted file mode 100644 index e374103..0000000 --- a/charts/wordpress/templates/tests/test-connection.yaml +++ /dev/null @@ -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 diff --git a/charts/wordpress/values.yaml b/charts/wordpress/values.yaml index 29adc26..38141a4 100644 --- a/charts/wordpress/values.yaml +++ b/charts/wordpress/values.yaml @@ -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