Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support imagePullSecrets for Executor #8074

Closed
jinnjwu opened this issue Mar 4, 2022 · 7 comments
Closed

Support imagePullSecrets for Executor #8074

jinnjwu opened this issue Mar 4, 2022 · 7 comments
Labels
area/executor type/support User support issue - likely not a bug

Comments

@jinnjwu
Copy link

jinnjwu commented Mar 4, 2022

Summary

When we deploy a argo-workflow in private internal datacenter, have no Internet access, we would like to pull argoproj/argoexec with a docker registry credential, but no such args in deployment yaml

apiVersion: apps/v1
kind: Deployment
metadata:
  name: workflow-controller
spec:
  selector:
    matchLabels:
      app: workflow-controller
  template:
    metadata:
      labels:
        app: workflow-controller
    spec:
      containers:
      - args:
        - --configmap
        - workflow-controller-configmap   # Set configmap name here
        - --executor-image
        - argoproj/argoexec:latest
        - --namespaced
        command:
        - workflow-controller
        image: argoproj/workflow-controller:latest
        name: workflow-controller
      serviceAccountName: argo
      nodeSelector:
              kubernetes.io/os: linux

What change needs making?

Use Cases

When would you use this?


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

@jinnjwu jinnjwu added the type/feature Feature request label Mar 4, 2022
@terrytangyuan
Copy link
Member

terrytangyuan commented Mar 4, 2022

You can customize your container in executor field in the controller configmap:

# executor controls how the init and wait container should be customized

@alexec alexec closed this as completed Mar 5, 2022
@jinnjwu
Copy link
Author

jinnjwu commented Mar 27, 2022

but no imagepullsecrets can be passed on workflow-controller-configmap.

@PidgeyBE
Copy link

Is there already a solution for this?
I'm also interested to know how to apply imagePullSecrets to the executor...

@Jonilei
Copy link

Jonilei commented Jul 22, 2024

Is there any solution?
I think it is an important issue because it affects the use of workflows.

@tiborauer
Copy link

Is there already an implementation for using a private registry?

@agilgur5 agilgur5 changed the title Support private registry credential imagePullSecrets for argoproj/argoexec Support imagePullSecrets for Executor Aug 31, 2024
@agilgur5
Copy link

imagePullSecrets are Pod-level, not container-level. The Executor is another container that runs in your template's Pods. So whatever imagePullSecrets you have on your template will be used

@agilgur5 agilgur5 added area/executor type/support User support issue - likely not a bug and removed type/feature Feature request labels Aug 31, 2024
@tiborauer
Copy link

Thank you, @agilgur5! I already found this info on another source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/executor type/support User support issue - likely not a bug
Projects
None yet
Development

No branches or pull requests

7 participants