remove registration secret
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: mautrix-whatsapp
|
name: mautrix-whatsapp
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
description: Chart for Matrix Whatsapp Bridge
|
description: Chart for Matrix Whatsapp Bridge
|
||||||
keywords:
|
keywords:
|
||||||
- matrix
|
- matrix
|
||||||
|
@@ -14,20 +14,3 @@ data:
|
|||||||
config.yaml: |
|
config.yaml: |
|
||||||
{{ toYaml .Values.mautrixWhatsapp.config | indent 4 }}
|
{{ toYaml .Values.mautrixWhatsapp.config | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
---
|
|
||||||
{{- if not .Values.mautrixWhatsapp.existingRegistrationSecret }}
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: mautrix-whatsapp-registration-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: mautrix-whatsapp-registration
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/component: web
|
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
|
||||||
data:
|
|
||||||
registration.yaml: {{ include "mautrix-whatsapp.registration-yaml" . | b64enc | quote }}
|
|
||||||
{{- end }}
|
|
||||||
|
Reference in New Issue
Block a user