diff --git a/deploy/helm/templates/deployment.yaml b/deploy/helm/templates/deployment.yaml index 8d2db04..b3eb17c 100644 --- a/deploy/helm/templates/deployment.yaml +++ b/deploy/helm/templates/deployment.yaml @@ -8,6 +8,9 @@ spec: {{- with .Values.revisionHistoryLimit }} revisionHistoryLimit: {{ . }} {{- end }} + {{- with .Values.replicas }} + replicas: {{ . }} + {{- end }} {{- with .Values.strategy }} strategy: {{- toYaml . | nindent 4 }} {{- end }} diff --git a/deploy/helm/templates/ingress.yaml b/deploy/helm/templates/ingress.yaml index be0370e..4022824 100644 --- a/deploy/helm/templates/ingress.yaml +++ b/deploy/helm/templates/ingress.yaml @@ -15,7 +15,7 @@ spec: http: paths: - path: {{ default "/" (urlParse (tpl .Values.config.web.external_url .)).path }} - pathType: {{ default "ImplementationSpecific" .pathType }} + pathType: {{ default "ImplementationSpecific" .Values.ingress.pathType }} backend: service: name: {{ include "wg-portal.fullname" . }} diff --git a/deploy/helm/templates/statefulset.yaml b/deploy/helm/templates/statefulset.yaml index e25870e..33aa6b3 100644 --- a/deploy/helm/templates/statefulset.yaml +++ b/deploy/helm/templates/statefulset.yaml @@ -8,6 +8,9 @@ spec: {{- with .Values.revisionHistoryLimit }} revisionHistoryLimit: {{ . }} {{- end }} + {{- with .Values.replicas }} + replicas: {{ . }} + {{- end }} {{- with .Values.strategy }} updateStrategy: {{- toYaml . | nindent 4 }} {{- end }}