Skip to content

Commit

Permalink
Keep namespace when deleting the chart (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhielpos authored Nov 30, 2023
1 parent 1d2eb03 commit 21974ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Keep `policy-exceptions` namespace when deleting the chart.

## [0.0.4] - 2023-11-29

### Added
Expand Down
2 changes: 2 additions & 0 deletions helm/exception-recommender/templates/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.recommender.destinationNamespace }}
annotations:
"helm.sh/resource-policy": keep
labels:
{{- include "labels.common" . | nindent 4 }}
{{- end }}

0 comments on commit 21974ed

Please sign in to comment.