Skip to content

Commit ab53068

Browse files
authored
[Feature/Helm] Add support --namespace helm arg (#19)
* Add support --namespace helm arg * Update changelog
1 parent dfcb88c commit ab53068

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
### Added
44

5+
- [PR #19](https://github.com/konpyutaika/nifikop/pull/19) - **[Helm chart]** Support --namespace helm arg
56
- [PR #18](https://github.com/konpyutaika/nifikop/pull/18) - **[Operator/NiFiCluster]** Support `topologySpreadConstraint`
67
- [PR #17](https://github.com/konpyutaika/nifikop/pull/17) - **[Operator/NiFiCluster]** Add ability to set max event driven thread count to NiFi Cluster.
78
- [PR #6](https://github.com/konpyutaika/nifikop/pull/6) - **[Operator/NiFiCluster]** Add ability to attach additional volumes & volumeMounts to NiFi container.

helm/nifikop/templates/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: {{ template "nifikop.fullname" . }}
5+
namespace: {{ $.Release.Namespace }}
56
labels:
67
app: {{ template "nifikop.name" . }}
78
chart: {{ .Chart.Name }}-{{ .Chart.Version }}

helm/nifikop/templates/role_binding.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ metadata:
1111
heritage: {{ $.Release.Service }}
1212
release: {{ $.Release.Name }}
1313
name: {{ template "nifikop.name" $ }}
14-
namespace: {{$namespace}}
14+
namespace: {{ $namespace }}
1515
subjects:
1616
- kind: ServiceAccount
1717
name: {{ template "nifikop.name" $ }}
18-
namespace: {{$.Release.Namespace}}
18+
namespace: {{ $.Release.Namespace }}
1919
roleRef:
2020
kind: Role
2121
name: {{ template "nifikop.name" $ }}

helm/nifikop/templates/service.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apiVersion: v1
33
kind: Service
44
metadata:
55
name: {{ template "nifikop.name" . }}-metrics
6+
namespace: {{ $.Release.Namespace }}
67
labels:
78
component: app
89
app: {{ template "nifikop.name" . }}-metrics

helm/nifikop/templates/service_account.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ metadata:
1212
{{- else }}
1313
name: {{ template "nifikop.name" . }}
1414
{{- end }}
15+
namespace: {{ $.Release.Namespace }}
1516
{{- end }}

0 commit comments

Comments
 (0)