1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/docs/snippets/generator-github-example-basicauth.yaml
Andreas Lindhé d7c0b55880
Fix typo: temaplate --> template (#3554)
Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com>
2024-06-06 00:31:38 +03:00

26 lines
599 B
YAML

{% raw %}
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: github-auth-template
spec:
dataFrom:
- sourceRef:
generatorRef:
apiVersion: generators.external-secrets.io/v1alpha1
kind: GithubAccessToken
name: github-auth-token
refreshInterval: "15m"
target:
template:
metadata:
annotations:
tekton.dev/git-0: "https://github.com"
type: kubernetes.io/basic-auth
engineVersion: v2
data:
username: "token"
password: "{{ .token }}"
name: github-auth-template
{% endraw %}