Commit 3541e95e authored by Matt Pryor's avatar Matt Pryor
Browse files

Add publisher configuration overrides

parent e5c22624
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
apiVersion: v1
kind: ConfigMap
metadata:
  name: "{{ template "fullname" . }}-esgcet-overrides"
  labels:
{{ include "default-labels" . | indent 4 }}
    component: configuration
data:
{{ toYaml .Values.esgcetOverrides | indent 2 }}
+8 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ spec:
      annotations:
        checksum/secrets: {{ include (print $.Template.BasePath "/configuration/secrets.yaml") . | sha256sum }}
        checksum/trust-bundle: {{ include (print $.Template.BasePath "/configuration/trust-bundle.yaml") . | sha256sum }}
        checksum/esgcet-overrides: {{ include (print $.Template.BasePath "/configuration/esgcet-overrides.yaml") . | sha256sum }}
    spec:
      # Setting fsGroup for the pod allows some provisioners to chown mounted volumes to the given group
      #   The publish group is 1001 inside the container
@@ -122,6 +123,10 @@ spec:
            - mountPath: /esg/certificates/esg-trust-bundle.pem
              name: trust-bundle
              subPath: esg-trust-bundle.pem
              readOnly: true
            - mountPath: /esg/config/esgcet/.overrides
              name: esgcet-overrides
              readOnly: true
          resources:
{{ toYaml .Values.publisher.resources | indent 12 }}
      volumes:
@@ -134,3 +139,6 @@ spec:
        - name: trust-bundle
          configMap:
            name: "{{ template "fullname" . }}-trust-bundle"
        - name: esgcet-overrides
          configMap:
            name: "{{ template "fullname" . }}-esgcet-overrides"
+0 −2
Original line number Diff line number Diff line
esgConfigOverrides: {}

solr:
  image:
    repository: esgfhub/solr