Commit 9251407b authored by Matt Pryor's avatar Matt Pryor
Browse files

GKE deployment working

parent c407136c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@ fi
: ${ESGF_PREFIX:=}
: ${ESGF_VERSION:=latest}

export ESGF_CONFIG ESGF_HUB ESGF_PREFIX ESGF_VERSION

# Run the given command in the docker container with the required environment variables and volumes
# It requires:
#   * The actual value of the ESGF_CONFIG variable for interpolation
+4 −0
Original line number Diff line number Diff line
@@ -24,6 +24,10 @@ spec:
      annotations:
        checksum/secrets: {{ include (print $.Template.BasePath "/configuration/secrets.yaml") . | sha256sum }}
    spec:
      # Setting fsGroup for the pod allows some provisioners to chown mounted volumes to the given group
      #   The postgres group is 26 inside our container
      securityContext:
        fsGroup: 26
      containers:
        - name: postgres-auth
          image: "{{ .Values.auth.postgres.image.repository }}:{{ .Values.auth.postgres.image.tag }}"
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@ spec:
  resources:
    requests:
      storage: {{ .Values.auth.postgres.persistence.size }}
{{- if .Values.auth.postgres.persistence.selector }}
  selector:
{{ toYaml .Values.auth.postgres.persistence.selector | indent 4 }}
{{- end }}
{{- end }}
+4 −0
Original line number Diff line number Diff line
@@ -24,6 +24,10 @@ spec:
      annotations:
        checksum/secrets: {{ include (print $.Template.BasePath "/configuration/secrets.yaml") . | sha256sum }}
    spec:
      # Setting fsGroup for the pod allows some provisioners to chown mounted volumes to the given group
      #   The postgres group is 26 inside our container
      securityContext:
        fsGroup: 26
      containers:
        - name: postgres-cog
          image: "{{ .Values.cog.postgres.image.repository }}:{{ .Values.cog.postgres.image.tag }}"
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@ spec:
  resources:
    requests:
      storage: {{ .Values.cog.postgres.persistence.size }}
{{- if .Values.cog.postgres.persistence.selector }}
  selector:
{{ toYaml .Values.cog.postgres.persistence.selector | indent 4 }}
{{- end }}
{{- end }}
Loading