apiVersion: v1 kind: Secret metadata: name: some-secret type: Opaque stringData: {{- toYaml .Values.secret | nindent 2 }}