apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: {{ include "dubbo-admin.fullname" . }}-secret-test | |
namespace: {{ include "dubbo-admin.namespace" . }} | |
annotations: | |
"helm.sh/hook": test-success | |
"helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded" | |
labels: | |
{{- include "dubbo-admin.labels" . | nindent 4 }} | |
type: Opaque | |
data: | |
application.properties: {{ tpl (toYaml .Values.properties) . | b64enc }}-test |