trying to create secret from jinja template
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
12
templates/username-password.yaml.j2
Normal file
12
templates/username-password.yaml.j2
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
managed: "bitwarden-secrets.lerentis.uploadfilter24.eu"
|
||||
crd: "{{ original_crd }}"
|
||||
name: "{{ secret_name }}"
|
||||
namespace: "{{ namespace }}"
|
||||
type: Opaque
|
||||
data:
|
||||
username: "{{ username | base64 }}"
|
||||
password: "{{ password | base64 }}"
|
Reference in New Issue
Block a user