-
Bug
-
Resolution: Done
-
Major
-
ACM 2.13.0
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
-
-
GRC Sprint 2025-13, GRC Sprint 2025-14, GRC Sprint 2025-15
-
Important
-
+
-
None
Description of problem:
When creating a object with a ConfigurationPolicy where the namespace is defined with a template ACM 2.13 reports error "violation - namespaced object example-ns-template of kind ConfigMap has no namespace specified from the policy namespaceSelector nor the object metadata"
apiVersion: v1
kind: ConfigMap
metadata:
name: example-ns-template
namespace: '{{ (eq (fromClusterClaim "product.open-cluster-management.io") "AKS" | ternary "argocd" "gitops") }}'
data:
test: one
Steps to Reproduce:
- See attached example
- is cloned by
-
ACM-22702 [release-2.14] Policy not compliant when setting object namespace with templates
-
- Closed
-