@@ -163,39 +163,54 @@ clusterGroup:
163163 path : charts/ztvp-certificates
164164 annotations :
165165 argocd.argoproj.io/sync-wave : " -10"
166- # Use extraValueFiles for complex nested structures like additionalCertificates and rollout
166+ # Ignore the ACM-replicated policy in local-cluster namespace
167+ # ACM automatically creates policy replicas with name pattern: <source-ns>.<policy-name>
168+ ignoreDifferences :
169+ - group : policy.open-cluster-management.io
170+ kind : Policy
171+ name : openshift-config.ztvp-certificates-distribution
172+ namespace : local-cluster
173+ jsonPointers :
174+ - /
175+ # Use extraValueFiles for complex nested structures like additionalCertificates
167176 # The validated patterns framework only processes 'overrides' as --set parameters
168177 # Edit /overrides/values-ztvp-certificates.yaml to configure:
169178 # - Additional CA certificates (additionalCertificates array)
170179 # - Automatic rollout restart for consuming applications
171180 extraValueFiles :
172181 - /overrides/values-ztvp-certificates.yaml
173182 overrides :
174- # Job TTL: Retention time for completed CA extraction jobs
175- # Default: 300s (5 min). Extended for debugging/verification.
176- - name : job.ttlSecondsAfterFinished
177- value : " 900 " # 15 minutes
183+ # Disable Job TTL to prevent ArgoCD OutOfSync when Kubernetes deletes completed Jobs
184+ # The initial Job runs once during first sync; CronJob handles ongoing extraction
185+ - name : debug.keepFailedJobs
186+ value : " true "
178187
179- # Debug settings: Enable for troubleshooting certificate extraction issues
180- # verbose: Enables bash 'set -x' for detailed script execution logging
181- # keepFailedJobs: Prevents failed jobs from auto-cleanup (useful for debugging)
188+ # Enable verbose logging for troubleshooting (uncomment if needed)
182189 # - name: debug.verbose
183190 # value: "true"
184- # - name: debug.keepFailedJobs
185- # value: "true"
186191
187- # Primary custom CA: Use secretRef to reference an existing Kubernetes secret
188- # containing CA certificates. Uncomment to enable:
189- # Create secret: oc create secret generic custom-ca-bundle \
190- # --from-file=ca.crt=/path/to/ca.crt -n openshift-config
192+ # Primary custom CA: Use secretRef to reference an existing Kubernetes secret containing CA certificates
193+ # Uncomment to add a primary custom CA:
194+ # Single cert: oc create secret generic custom-ca-bundle --from-file=ca.crt=/path/to/ca.crt -n openshift-config
195+ # Multiple certs: cat corp-root.crt intermediate.crt partner.crt > combined-ca.crt && oc create secret generic custom-ca-bundle --from-file=ca.crt=combined-ca.crt -n openshift-config
196+ # Disabled for now - using auto-detection only
191197 # - name: customCA.secretRef.enabled
192198 # value: "true"
193- # - name: customCA.secretRef.name
194- # value: custom-ca-bundle
195- # - name: customCA.secretRef.namespace
196- # value: openshift-config
197- # - name: customCA.secretRef.key
198- # value: ca.crt
199+ - name : customCA.secretRef.name
200+ value : custom-ca-bundle
201+ - name : customCA.secretRef.namespace
202+ value : openshift-config
203+ - name : customCA.secretRef.key
204+ value : ca.crt
205+
206+ # Automatic rollout configuration (simple overrides work fine)
207+ - name : rollout.enabled
208+ value : " true"
209+ - name : rollout.strategy
210+ value : labeled
211+
212+ # Note: additionalCertificates (complex nested array) temporarily disabled
213+ # Need to find proper way to pass complex structures in Validated Patterns
199214 acm :
200215 name : acm
201216 namespace : open-cluster-management
0 commit comments