Skip to content

Commit ed00ec4

Browse files
authored
Merge pull request #169 from datum-cloud/feat/compute-edge-projected-quota-volume
2 parents 9457279 + d356550 commit ed00ec4

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

config/components/quota-credentials/kustomization.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Mounts the quota credential for compute-manager at /etc/quota-credentials:
2+
# the Milo client certificate (ca.crt/tls.crt/tls.key) and a static kubeconfig
3+
# that references those cert files by path, combined into one directory via a
4+
# projected volume. The cluster environment supplies both sources
5+
# (compute-edge-milo-client-cert Secret + compute-quota-kubeconfig ConfigMap);
6+
# they are optional so compute-manager still starts where quota is not wired.
17
apiVersion: kustomize.config.k8s.io/v1alpha1
28
kind: Component
39

@@ -21,6 +27,11 @@ patches:
2127
readOnly: true
2228
volumes:
2329
- name: quota-credentials
24-
secret:
25-
secretName: compute-quota-credentials
26-
optional: true
30+
projected:
31+
sources:
32+
- secret:
33+
name: compute-edge-milo-client-cert
34+
optional: true
35+
- configMap:
36+
name: compute-quota-kubeconfig
37+
optional: true

0 commit comments

Comments
 (0)