Open archonic opened 6 years ago
@archonic I'm not sure if volumeClaims
takes in secret
as a possible key.
You'll need to specify the secret to mount in the PodSpec itslef -
volumes:
- name: foo
secret:
secretName: mysecret
Something like -
apiVersion: v1
kind: Pod
metadata:
name: mypod
spec:
containers:
- name: mypod
image: redis
volumeMounts:
- name: foo
mountPath: "/etc/foo"
readOnly: true
volumes:
- name: foo
secret:
secretName: mysecret
I'm attempting to create a cloudsql proxy using kedge. I'd like to follow this as closely as possible:
https://cloud.google.com/sql/docs/mysql/connect-kubernetes-engine#6_update_your_pod_configuration_file
This is my kedgefile for the proxy:
This is causing:
I know the features around secrets are a planned enhancement, but is there a kosher way to handle cloudsql-proxies currently with kedge?