question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Specify an image pull secret

See original GitHub issue

Description

Add a parameter images.airflow.imagePullSecrets to support this secret for fetching airflow images.

Use case/motivation

When deploying custom images (e.g. the extended images with DAGs embedded or dependencies installed) they are often pushed somewhere like a private Gitlab repository. To successfully pull them after, secrets would need to be specified similar to this.

Related issues

Don’t believe any other issue pertains, but may have missed something.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
DSamuylovcommented, Jun 11, 2022

@onemec could you elaborate on how did you fix it? I am actually looking for a solution for the exactly the same use case that you describe in this issue.

1reaction
onemeccommented, Jun 7, 2022

It seems that this actually uses the following:

{{- end }}
{{- if or .Values.registry.secretName .Values.registry.connection }}
imagePullSecrets:
  - name: {{ template "registry_secret" . }}

Providing further documentation or the ability to specify this within the values.yaml file for Helm parameters would help simplify using this feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pull an Image from a Private Registry - Kubernetes
This page shows how to create a Pod that uses a Secret to pull an image from a private container image registry or...
Read more >
Creating imagePullSecrets for a specific namespace - IBM
An imagePullSecrets is an authorization token, also known as a secret, that stores Docker credentials that are used for accessing a registry.
Read more >
Using image pull secrets | OpenShift Container Platform 4.8
You can obtain the image pull secret from the Red Hat OpenShift Cluster Manager. This pull secret is called pullSecret . You use...
Read more >
Pulling Images from Container Registry during Kubernetes ...
You have to use kubectl to create a Docker registry secret. · You have to specify the image to pull from Container Registry,...
Read more >
Use a custom image or private registry - Bitnami Documentation
If you configure the image value to one in a private registry, you will need to specify an image pull secret. Manually create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found