diff --git a/wordpress/Chart.yaml b/wordpress/Chart.yaml index 187730e..04bbd51 100644 --- a/wordpress/Chart.yaml +++ b/wordpress/Chart.yaml @@ -14,7 +14,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.1.1 +version: 0.1.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/wordpress/templates/statefulset.yaml b/wordpress/templates/statefulset.yaml index fc432a8..7c177c6 100644 --- a/wordpress/templates/statefulset.yaml +++ b/wordpress/templates/statefulset.yaml @@ -6,7 +6,7 @@ metadata: {{- include "wordpress.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} - serviceName: {{ .Chart.name }} + serviceName: {{ .Values.service.name }} selector: matchLabels: {{- include "wordpress.selectorLabels" . | nindent 6 }} diff --git a/wordpress/values.yaml b/wordpress/values.yaml index aec177a..419bb12 100644 --- a/wordpress/values.yaml +++ b/wordpress/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 nginx: - name: NGINX + name: nginx image: repository: harbor.ervine.dev/library/x86_64/alpine/nginx tag: alpine @@ -84,6 +84,7 @@ securityContext: {} # runAsUser: 1000 service: + name: wordpress type: ClusterIP port: 80