bitwarden-crd-operator/example_template.yaml

22 lines
581 B
YAML
Raw Normal View History

2022-11-26 17:55:42 +00:00
---
2024-01-06 22:29:45 +00:00
apiVersion: "lerentis.uploadfilter24.eu/v1beta5"
2022-11-26 17:55:42 +00:00
kind: BitwardenTemplate
metadata:
name: test
spec:
filename: "config.yaml"
2022-11-26 20:33:31 +00:00
name: "test-template"
2022-11-26 17:55:42 +00:00
namespace: "default"
2024-01-06 22:29:45 +00:00
labels:
key: value
app: example-app
2022-11-26 17:55:42 +00:00
template: |
---
api:
enabled: True
2022-11-26 20:33:31 +00:00
key: {{ bitwarden_lookup("466fc4b0-ffca-4444-8d88-b59d4de3d928", "fields", "key") }}
2022-11-26 17:55:42 +00:00
allowCrossOrigin: false
apps:
"some.app.identifier:some_version":
2022-11-26 20:33:31 +00:00
pubkey: {{ bitwarden_lookup("466fc4b0-ffca-4444-8d88-b59d4de3d928", "fields", "public_key") }}
2022-11-26 17:55:42 +00:00
enabled: true