diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df9225a187abd80797c6ed7609ad840bbcde2972..98c03925ba20a1d30102f2d12918ffb691bcd5de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,6 +157,7 @@ development: - $INCREMENTAL_ROLLOUT_ENABLED - $INCREMENTAL_ROLLOUT_MODE + production: variables: ADDITIONAL_HOSTS: "www.metager.de,metager.org,www.metager.org,metager.es,www.metager.es,klassik.metager.org" diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 98090f8dd40a0a84716afea640d72b7cffca4718..b790fdcba3e3bb955c5c11bbdb36f56de234240a 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -30,6 +30,15 @@ spec: tier: "{{ .Values.application.tier }}" release: {{ .Release.Name }} spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: worker + operator: NotIn + values: + - temp imagePullSecrets: {{ toYaml .Values.image.secrets | indent 10 }} securityContext: @@ -37,7 +46,7 @@ spec: volumes: - name: mglogs-persistent-storage persistentVolumeClaim: - claimName: mglogs + claimName: mg-logs containers: # Main PHP-FPM Container - name: {{ .Chart.Name }}-phpfpm