Skip to content

Commit 12dea23

Browse files
author
hanancha
committed
Removing Support Method tags
Moving rbac under st2 and adding flags to enable/disable rbac
1 parent e9a07e4 commit 12dea23

19 files changed

+48
-115
lines changed

templates/_helpers.tpl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
44
{{- end -}}
55

6-
# Generate support method used in labels. This is based on community
7-
{{- define "supportMethod" -}}
8-
community
9-
{{- end }}
10-
11-
# Generate Docker image repository: Private 'docker.stackstorm.com' for Enterprise vs Public Docker Hub 'stackstorm' for FOSS version
6+
# Generate Docker image repository: Public Docker Hub 'stackstorm' for FOSS version
127
{{- define "imageRepository" -}}
138
{{- if .Values.image.repository -}}
149
{{ .Values.image.repository }}

templates/configmaps_packs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ metadata:
99
app: st2
1010
tier: backend
1111
vendor: stackstorm
12-
support: {{ template "supportMethod" . }}
1312
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
1413
release: {{ .Release.Name }}
1514
heritage: {{ .Release.Service }}

templates/configmaps_rbac.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.st2.rbac.enabled -}}
12
---
23
apiVersion: v1
34
kind: ConfigMap
@@ -9,7 +10,6 @@ metadata:
910
app: st2
1011
tier: backend
1112
vendor: stackstorm
12-
support: {{ template "supportMethod" . }}
1313
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
1414
release: {{ .Release.Name }}
1515
heritage: {{ .Release.Service }}
@@ -27,7 +27,6 @@ metadata:
2727
app: st2
2828
tier: backend
2929
vendor: stackstorm
30-
support: {{ template "supportMethod" . }}
3130
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
3231
release: {{ .Release.Name }}
3332
heritage: {{ .Release.Service }}
@@ -45,7 +44,6 @@ metadata:
4544
app: st2
4645
tier: backend
4746
vendor: stackstorm
48-
support: {{ template "supportMethod" . }}
4947
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
5048
release: {{ .Release.Name }}
5149
heritage: {{ .Release.Service }}
@@ -55,3 +53,4 @@ data:
5553
{{ else }}
5654
{}
5755
{{ end }}
56+
{{- end }}

templates/configmaps_st2-conf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ metadata:
99
app: st2
1010
tier: backend
1111
vendor: stackstorm
12-
support: {{ template "supportMethod" . }}
1312
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
1413
release: {{ .Release.Name }}
1514
heritage: {{ .Release.Service }}

templates/configmaps_st2-urls.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ metadata:
99
app: st2
1010
tier: backend
1111
vendor: stackstorm
12-
support: {{ template "supportMethod" . }}
1312
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
1413
release: {{ .Release.Name }}
1514
heritage: {{ .Release.Service }}

templates/configmaps_st2web.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ metadata:
1010
app: st2
1111
tier: backend
1212
vendor: stackstorm
13-
support: {{ template "supportMethod" . }}
1413
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
1514
release: {{ .Release.Name }}
1615
heritage: {{ .Release.Service }}

0 commit comments

Comments
 (0)