Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-2885

Missing imagePullSecrets and wrong envsubstImage in a1poliymanager helmchart

XMLWordPrintable

    • Hide

      Using the RepositoryGenerator template, alternative registries can be configured in the global override file (e.g. for DockerHub, GCR, Elastic).
      In that case the "image" values in the charts will be extended with the configured registry values.
      Additionally for each registry a username/password can be configured, which is stored in a registry (onap-docker-registry-key)
      This secret must be added to in the charts, which contain the "image" as entry: 
       

      imagePullSecrets: 
          - name: "{{ include "common.namespace" . }}-docker-registry-key"

       
      This entry is missing in the following chart:
      https://git.onap.org/oom/tree/kubernetes/a1policymanagement/templates/statefulset.yaml

      Additionally in the same file for envsubstImage the repositoryGenerator should be used:

      image: "{{ .Values.global.envsubstImage }}" -> image: {

      { include "repositoryGenerator.image.envsubst" . }

      }

      Show
      Using the RepositoryGenerator template, alternative registries can be configured in the global override file (e.g. for DockerHub, GCR, Elastic). In that case the "image" values in the charts will be extended with the configured registry values. Additionally for each registry a username/password can be configured, which is stored in a registry (onap-docker-registry-key) This secret must be added to in the charts, which contain the "image" as entry:    imagePullSecrets:    - name: "{{ include " common.namespace " . }}-docker-registry-key"   This entry is missing in the following chart: https://git.onap.org/oom/tree/kubernetes/a1policymanagement/templates/statefulset.yaml Additionally in the same file for envsubstImage the repositoryGenerator should be used: image: "{{ .Values.global.envsubstImage }}" -> image: { { include "repositoryGenerator.image.envsubst" . } }

          andreasgeissler Andreas Geissler
          andreasgeissler Andreas Geissler
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: