Skip to content

Commit

Permalink
Deprecate Namespace Resource in Helm Chart in favour of helms --creat…
Browse files Browse the repository at this point in the history
…e-namespace
  • Loading branch information
christophebeling committed Aug 14, 2024
1 parent 995320b commit 9043ccc
Show file tree
Hide file tree
Showing 8 changed files with 9,792 additions and 8 deletions.
3 changes: 2 additions & 1 deletion manifests/helm/build/templates/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
namespace: >-
{{ .Values.namespace }}
{{ if not .Values.createNamespace }}{{.Release.Namespace}}{{else}}{{.Values.namespace}}{{end}}
bases:
- ../../../install/all/operator
Expand All @@ -13,3 +13,4 @@ images:
patchesStrategicMerge:
- overlays/deployment.yaml
- overlays/namespace.yaml
8 changes: 8 additions & 0 deletions manifests/helm/build/templates/overlays/namespace.yaml
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

Loading

0 comments on commit 9043ccc

Please sign in to comment.