GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy-operator

Merge spec.container with the default one not overwrite it

Open
#507 4 comments 1 reaction 1 assignee Assigned to @hessjcg View on GitHub
priority: p2 type: feature request
Dominant language
Go
Stars
120
Forks
18
PR merge metrics
No merged PRs in 30d

Description

## Expected Behavior
I need to modify some aspects of the `spec.container` section, for example, I need to add initialDelaySeconds in startupProbe (I use Istio and the proxy container restarts before its first successful launch due to Istio). However, I can't do this without rewriting the entire container section, which I believe isn't not only complex, but also not appropriate.

## Actual Behavior
I am forced to overwrite the entire container section.

## Steps to Reproduce the Problem
n/a

## Specifications

- Version: v1.4.1
- Platform: GKE

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.