-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathcontrollerconfig.yaml
More file actions
33 lines (33 loc) · 928 Bytes
/
controllerconfig.yaml
File metadata and controls
33 lines (33 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: pkg.crossplane.io/v1alpha1
kind: ControllerConfig
metadata:
annotations:
argocd.argoproj.io/sync-wave: '10'
labels:
app: crossplane-provider-terraform
name: terraform-config
spec:
metadata:
annotations:
argocd.argoproj.io/sync-wave: '10'
vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/role: "sa-crossplane-provider-terraform"
vault.hashicorp.com/auth-path: auth/kubernetes/kubefirst
vault.hashicorp.com/agent-inject-secret-jwt-token: "identity/oidc/token/federated"
vault.hashicorp.com/agent-inject-template-jwt-token: |
{{- with secret "identity/oidc/token/federated" -}}
{{ .Data.token }}
{{- end }}
args:
- -d
- --poll=2m
envFrom:
- secretRef:
name: crossplane-secrets
volumeMounts:
- mountPath: /.cache
name: helmcache
volumes:
- name: helmcache
emptyDir:
sizeLimit: 500Mi