-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate Namespace Resource in Helm Chart in favour of helms --creat…
…e-namespace
- Loading branch information
1 parent
995320b
commit a947fd2
Showing
7 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
$patch: delete | ||
kind: Namespace | ||
apiVersion: v1 | ||
metadata: | ||
name: contrast-agent-operator | ||
labels: | ||
app.kubernetes.io/part-of: contrast-agent-operator | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{{ .Chart.Name }} chart version {{ .Chart.Version }} deployed! | ||
|
||
{{ if .Values.createNamespace }} | ||
⚠️ WARNING: Creating Namespaces via Helm Chart is deprecated and will be removed in a future release. | ||
Pls use helm --create-namespace flag instead.️ {{ end }} | ||
|
||
{{- if .Values.agentInjectors.enabled }} | ||
✅ {{ len .Values.agentInjectors.injectors }} {{ len .Values.agentInjectors.injectors | plural "injector" "injectors" }} {{ len .Values.agentInjectors.injectors | plural "has" "have" }} been deployed to {{ len .Values.agentInjectors.namespaces | plural "namespace" "namespaces" }}: {{ join ", " .Values.agentInjectors.namespaces}} | ||
To use with your workloads: | ||
|
@@ -50,4 +54,4 @@ | |
|
||
📄 More documentation: https://docs.contrastsecurity.com/en/agent-operator.html | ||
|
||
🙋 Get support: https://support.contrastsecurity.com / [email protected] | ||
🙋 Get support: https://support.contrastsecurity.com / [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## This resource is deprecated and will be removed in a future release. | ||
## Pls use helm --create-namespace flag instead. | ||
{{- if .Values.createNamespace }} | ||
kind: Namespace | ||
apiVersion: v1 | ||
metadata: | ||
name: {{ .Values.namespace }} | ||
labels: | ||
app.kubernetes.io/part-of: contrast-agent-operator | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters