Skip to content

Argo Rollout Spec #1309

Discussion options

You must be logged in to vote

We use rollouts quite and rely heavily on environment variables using the env and envFrom keys. The rollouts CRD should support what your asking, since it essentially mimics a deployment, see:

env: https://github.com/argoproj/argo-rollouts/blob/master/manifests/crds/rollout-crd.yaml#L848
volumeMounts: https://github.com/argoproj/argo-rollouts/blob/master/manifests/crds/rollout-crd.yaml#L1345
imagePullSecrets: https://github.com/argoproj/argo-rollouts/blob/master/manifests/crds/rollout-crd.yaml#L1946

These keys are case sensitive, however.

For example, the following works for me:

---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: podinfo
spec:
  replicas: 1
  selector:
  …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jessesuen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants