Description
Expected Behavior
Support custom Workloads kinds: argo rollouts
Actual Behavior
The AuthProxyWorkload "xxx" is invalid: spec.workload.kind: Invalid value: "Rollout": Kind was "Rollout", must be one of CronJob, Job, StatefulSet, Deployment, DaemonSet or Pod
Steps to Reproduce the Problem
spec.workload.kind: Rollout
kubectl apply
Specifications
- Version: 1.0.2
- Platform: GKE 1.24
more
I also tried with kind: Pod
& selector.matchLabels
, but it doesn't seem to work: the Pod does get the cloudsql.cloud.google.com/vesta-web: 1,gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.3.0
annotation, but no extra container is added...
I also tried with kind: Deployment
& name
, because our argo Rollout uses a Deployment to define the pod spec, but I get the same result as with kind: Pod
.
even more
when using on a standard Deployment, the pod spec is not changed except for the annotation.
I initially assumed the operator would patch the pod spec to inject there the extra container. But it seems to do it late, only on the Pod.
Is there a reason for that? it is not documented why, when it was implemented: #41
(it seems to theoretically increase the load on the operator, and asks High Availability questions)