Skip to content

Feature request: Support more Workload kinds: argo rollouts? #397

Closed
@thomas-riccardi

Description

@thomas-riccardi

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

  1. spec.workload.kind: Rollout
  2. 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)

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions