src/components/cloud-sql/cloud-sql-proxy/add-container.yaml (22 lines of code) (raw):

# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - op: add path: /spec/template/spec/containers/- value: args: - "--port=5432" env: - name: CSQL_PROXY_INSTANCE_CONNECTION_NAME valueFrom: configMapKeyRef: name: cloud-sql-admin key: connectionName image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.8.0-alpine@sha256:bd14f09aa889b490a361522293cc4aa539937b6d64bc740794843ac814e58f6f name: cloud-sql-proxy resources: limits: cpu: 250m ephemeral-storage: 1Gi memory: 100Mi requests: cpu: 250m ephemeral-storage: 1Gi memory: 100Mi