mirror of
https://github.com/Telecominfraproject/wlan-cloud-helm.git
synced 2025-10-29 09:42:29 +00:00
The same results were obtained after converting Portal into a Statefulset and using PVC as a VolumeClaimTemplate. Since PVC name is fixed, it becomes easy to get the PVC name and bind it to the other pod (opensync-gw).
12 lines
321 B
YAML
12 lines
321 B
YAML
{{- if and .Release.Namespace (.Values.createReleaseNamespace | default false) -}}
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: {{ include "common.namespace" . }}
|
|
labels:
|
|
release: {{ .Release.Name }}
|
|
{{- if .Values.annotations }}
|
|
annotations:
|
|
{{ toYaml .Values.annotations | indent 4 }}
|
|
{{- end }}
|
|
{{- end -}} |