Skip to content

Commit c6e505e

Browse files
haoqing0110claude
andauthored
Do not remove namespace when intalled in default open-cluster-management-agent-addon namesapce (#111)
🤖 Generated with [Claude Code](https://claude.ai/code) Signed-off-by: Qing Hao <qhao@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 31cb0d4 commit c6e505e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • dynamic-scoring-framework/pkg/dynamic_scoring/manifests/templates
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
apiVersion: v1
22
kind: Namespace
33
metadata:
4-
name: {{ .AddonInstallNamespace }}
4+
{{- if eq .AddonInstallNamespace "open-cluster-management-agent-addon" }}
5+
annotations:
6+
addon.open-cluster-management.io/deletion-orphan: ""
7+
{{- end }}
8+
name: {{ .AddonInstallNamespace }}

0 commit comments

Comments
 (0)