mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-26 20:20:56 +00:00
20 lines
595 B
YAML
20 lines
595 B
YAML
server:
|
|
sidecarContainers:
|
|
- name: cloud-sql-proxy
|
|
image: gcr.io/cloudsql-docker/gce-proxy:1.17
|
|
command:
|
|
- "/cloud_sql_proxy"
|
|
- "-ip_address_types=PRIVATE"
|
|
- "-instances=_PROJECTNAME_:_REGION_:_INSTANCENAME_=tcp:5432"
|
|
- "-credential_file=/etc/google-cloud-key/key.json"
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
volumeMounts:
|
|
- name: google-cloud-key
|
|
mountPath: /etc/google-cloud-key
|
|
readOnly: true
|
|
|
|
additionalVolumes:
|
|
- name: google-cloud-key
|
|
secret:
|
|
secretName: cloud-sql-proxy-sa
|