feat(helm): add `metadata namespace` (#22020)

This commit is contained in:
waynewenswag 2022-11-10 02:41:40 +08:00 committed by GitHub
parent 4496748cd9
commit 53ed8f2d5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 17 additions and 2 deletions

View File

@ -29,7 +29,7 @@ maintainers:
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
version: 0.7.6
version: 0.7.7
dependencies:
- name: postgresql
version: 11.1.22

View File

@ -19,7 +19,7 @@
# superset
![Version: 0.7.6](https://img.shields.io/badge/Version-0.7.6-informational?style=flat-square)
![Version: 0.7.7](https://img.shields.io/badge/Version-0.7.7-informational?style=flat-square)
Apache Superset is a modern, enterprise-ready business intelligence web application

View File

@ -24,6 +24,7 @@ metadata:
chart: {{ template "superset.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
namespace: {{ .Release.Namespace }}
data:
{{- range $path, $config := .Values.extraConfigs }}
{{ $path }}: |

View File

@ -28,6 +28,7 @@ metadata:
annotations:
{{- toYaml .Values.supersetCeleryBeat.deploymentAnnotations | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
# This must be a singleton
replicas: 1

View File

@ -28,6 +28,7 @@ metadata:
annotations:
{{- toYaml .Values.supersetCeleryFlower.deploymentAnnotations | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.supersetCeleryFlower.replicaCount }}
selector:

View File

@ -27,6 +27,7 @@ metadata:
annotations:
{{- toYaml .Values.supersetWorker.deploymentAnnotations | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.supersetWorker.replicaCount }}
selector:

View File

@ -28,6 +28,7 @@ metadata:
annotations:
{{- toYaml .Values.supersetWebsockets.deploymentAnnotations | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.supersetWebsockets.replicaCount }}
selector:

View File

@ -27,6 +27,7 @@ metadata:
annotations:
{{- toYaml .Values.supersetNode.deploymentAnnotations | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.supersetNode.replicaCount }}
{{- if .Values.supersetNode.strategy }}

View File

@ -29,6 +29,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}

View File

@ -22,6 +22,7 @@ metadata:
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": "before-hook-creation"
namespace: {{ .Release.Namespace }}
spec:
template:
metadata:

View File

@ -23,6 +23,7 @@ metadata:
chart: {{ template "superset.chart" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
namespace: {{ .Release.Namespace }}
type: Opaque
stringData:
REDIS_HOST: {{ tpl .Values.supersetNode.connections.redis_host . | quote }}

View File

@ -23,6 +23,7 @@ metadata:
chart: {{ template "superset.chart" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
namespace: {{ .Release.Namespace }}
type: Opaque
stringData:
superset_config.py: |

View File

@ -24,6 +24,7 @@ metadata:
chart: {{ template "superset.chart" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
namespace: {{ .Release.Namespace }}
type: Opaque
stringData:
config.json: |

View File

@ -31,4 +31,5 @@ metadata:
{{- if .Values.serviceAccount.annotations }}
annotations: {{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
{{- end -}}

View File

@ -27,6 +27,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
type: {{ .Values.service.type }}
ports:
@ -55,6 +56,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
type: {{ .Values.supersetCeleryFlower.service.type }}
ports:
@ -84,6 +86,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
type: {{ .Values.supersetWebsockets.service.type }}
ports: