From e84bd7fc6709140318af530dd87dcc3e7e971940 Mon Sep 17 00:00:00 2001 From: adrianc Date: Wed, 29 Nov 2023 20:10:16 +0200 Subject: [PATCH] docs: add deprecation notice Add deprecation notice to helm notes in case user deployed CR via helm. This mode of operation is intended to be deprecated Users should transition to deploying CR independently post helm install/update Signed-off-by: adrianc --- deployment/network-operator/templates/NOTES.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deployment/network-operator/templates/NOTES.txt b/deployment/network-operator/templates/NOTES.txt index c4417902..8ab4fda1 100644 --- a/deployment/network-operator/templates/NOTES.txt +++ b/deployment/network-operator/templates/NOTES.txt @@ -1,3 +1,11 @@ Get Network Operator deployed resources by running the following commands: -$ kubectl -n {{ .Release.Namespace }} get pods \ No newline at end of file +$ kubectl -n {{ .Release.Namespace }} get pods + +{{ if .Values.deployCR }} +IMPORTANT: + * Deploying NicClusterPolicy Custom Resource through helm is deprecated, + * support will be removed in future release. + * Please set deployCR=false in your helm values and create/update NicClusterPolicy + * Custom Resource directly, post helm install/update. +{{- end}} \ No newline at end of file