dnskr opened a new pull request, #44:
URL: https://github.com/apache/ozone-helm-charts/pull/44

   ## What changes were proposed in this pull request?
   The PR fixes `imagePullSecrets` support to all Ozone pod templates, enabling 
deployments to clusters that require private registry authentication.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15903
   
   ## How was this patch tested?
   
   **Render changed templates (excluding om decommission jobs) with provided 
`imagePullSecrets` value:**
   ```shell
   helm template ozone charts/ozone --set "imagePullSecrets[0].name=regcred" 
--set recon.enabled=true \
     -s templates/datanode/datanode-statefulset.yaml \
     -s templates/om/om-statefulset.yaml \
     -s templates/recon/recon-deployment.yaml \
     -s templates/s3g/s3g-statefulset.yaml \
     -s templates/scm/scm-statefulset.yaml
   ```
   Output (reduced):
   ```shell
   ---
   # Source: ozone/templates/datanode/datanode-statefulset.yaml
   apiVersion: apps/v1
   kind: StatefulSet
   metadata:
     name: ozone-datanode
   spec:
     replicas: 3
     serviceName: ozone-datanode-headless
     template:
       spec:
         imagePullSecrets:
           - name: regcred
         containers:
           - name: datanode
             image: "apache/ozone:2.1.1"
             ...
   ---
   # Source: ozone/templates/om/om-statefulset.yaml
   apiVersion: apps/v1
   kind: StatefulSet
   metadata:
     name: ozone-om
   spec:
     replicas: 3
     serviceName: ozone-om-headless
     template:
       spec:
         imagePullSecrets:
           - name: regcred
         containers:
           - name: om
             image: "apache/ozone:2.1.1"
             ...
   ---
   # Source: ozone/templates/recon/recon-deployment.yaml
   apiVersion: apps/v1
   kind: Deployment
   metadata:
     name: ozone-recon
   spec:
     replicas: 1
     template:
       spec:
         imagePullSecrets:
           - name: regcred
         containers:
           - name: recon
             image: "apache/ozone:2.1.1"
             ...
   ---
   # Source: ozone/templates/s3g/s3g-statefulset.yaml
   apiVersion: apps/v1
   kind: StatefulSet
   metadata:
     name: ozone-s3g
   spec:
     replicas: 1
     serviceName: ozone-s3g-headless
     template:
       spec:
         imagePullSecrets:
           - name: regcred
         containers:
           - name: s3g
             image: "apache/ozone:2.1.1"
             ...
   ---
   # Source: ozone/templates/scm/scm-statefulset.yaml
   apiVersion: apps/v1
   kind: StatefulSet
   metadata:
     name: ozone-scm
   spec:
     replicas: 1
     podManagementPolicy: Parallel
     serviceName: ozone-scm-headless
     template:
       spec:
         imagePullSecrets:
           - name: regcred
         initContainers:
           - name: init
             image: "apache/ozone:2.1.1"
             ...
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to