Files
HetznerTerra/apps/microservices/webshare-api-externalsecret.yaml
T
micqdf c62364fe67
Deploy Cluster / Terraform (push) Successful in 39s
Deploy Cluster / Ansible (push) Failing after 17m19s
feat: deploy microservices through traefik
2026-05-05 01:28:59 +00:00

30 lines
764 B
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: webshare-api
namespace: microservices
spec:
refreshInterval: 1h
secretStoreRef:
name: doppler-openstaticfish-microservices
kind: ClusterSecretStore
target:
name: webshare-api
creationPolicy: Owner
template:
type: Opaque
data:
api-key: "{{ .webshareApiKey }}"
proxy-username: "{{ .webshareProxyUsername }}"
proxy-password: "{{ .webshareProxyPassword }}"
data:
- secretKey: webshareApiKey
remoteRef:
key: WEBSHARE_API_KEY
- secretKey: webshareProxyUsername
remoteRef:
key: WEBSHARE_PROXY_USERNAME
- secretKey: webshareProxyPassword
remoteRef:
key: WEBSHARE_PROXY_PASSWORD