-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.local.yaml
More file actions
105 lines (96 loc) · 2.73 KB
/
Copy pathvalues.local.yaml
File metadata and controls
105 lines (96 loc) · 2.73 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Helm values overrides for the local Tilt-driven development environment.
# Layered on top of helm-charts/charts/platzio/values.yaml.
images:
backend:
# Tag is replaced by Tilt at runtime via image_deps when docker_build runs.
repository: platzio/backend-dev
tag: latest
pullPolicy: IfNotPresent
frontend:
repository: platzio/frontend-dev
tag: latest
pullPolicy: IfNotPresent
helm:
# Anything with bash + helm + base64 will do. The backend's helm pod no
# longer needs the AWS CLI in `provider=oci` mode.
repository: alpine/helm
tag: "3.16.2"
# Use the in-cluster Postgres provisioned by backend/dev/manifests/postgres.yaml.
database:
secretName: postgres-creds
# Frontend serves on the cluster; ingress on NodePort exposes it on host:8080.
ownUrlOverride: "http://localhost:8080"
auth:
adminEmails:
- admin@example.com
oidc:
serverUrl:
valueFrom:
secretKeyRef:
name: oidc-config
key: serverUrl
clientId:
valueFrom:
secretKeyRef:
name: oidc-config
key: clientId
clientSecret:
valueFrom:
secretKeyRef:
name: oidc-config
key: clientSecret
api:
service:
type: NodePort
serviceAccount:
name: platz-api
# Run k8s-agent in `local` mode against the in-cluster API server.
# `localContext: ""` makes the agent use the kubeconfig's current-context;
# inside the pod that resolves to the in-cluster service account credentials
# (kube::Client::try_default() picks up `/var/run/secrets/kubernetes.io/serviceaccount/`).
k8sAgent:
instances:
- name: default
provider: local
localContext: ""
serviceAccount:
name: ""
annotations: {}
extraEnv:
# Faster cluster refresh in dev — upstream default is 1h.
- name: K8S_REFRESH_INTERVAL
value: "30s"
# Don't try to manage deployment credentials secrets locally.
- name: PLATZ_DISABLE_DEPLOYMENT_CREDENTIALS
value: "true"
# Run chart-discovery against the in-cluster OCI registry.
chartDiscovery:
instances:
- name: default
enableTagParser: false
provider: oci
oci:
registryUrl: "http://registry.platz.svc.cluster.local:5000"
pollInterval: 5s
ecrEvents:
queueName: ""
regionName: ""
serviceAccount:
name: ""
annotations: {}
extraEnv: []
# Frontend: surfaced via NodePort so the browser at http://localhost:8080
# reaches it through kind's host port mapping.
frontend:
service:
type: NodePort
# No ingress / cert-manager / backup-job in local dev.
ingress:
enabled: false
backupJob:
enabled: false
certManager:
certificate:
create: false
issuer:
create: false