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

Ability to run helm pull as a task #355

Closed
jack1902 opened this issue Jan 31, 2022 · 1 comment
Closed

Ability to run helm pull as a task #355

jack1902 opened this issue Jan 31, 2022 · 1 comment
Assignees
Labels
topic/helm Issues relating to helm plugins type/enhancement New feature or request

Comments

@jack1902
Copy link

SUMMARY

Basically, i'd like the ability to run ansible to download a bunch of helm charts for use in a separate ansible playbook that wouldn't have any access to the internet.

helm_pull would download all packages locally for use by another ansible-playbook which assumes all charts already exist at a given path.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

kubernetes.core.helm_pull or kubernetes.core.helm_repository could be suitable for this.

ADDITIONAL INFORMATION

Currently, the helm tasks assume that the host running the helm commands has access to the internet but this is not always the case.

- name: Add linkerd chart repo
  kubernetes.core.helm_repository:
    name: linkerd
    repo_url: "https://helm.linkerd.io/stable"

- name: download linkerd chart locally
  kubernetes.core.helm_pull:
    name: linkerd/linkerd2
    # defaults to latest version
    version: VERSION_HERE
    # below would then contain a subdirectory with `linkerd.tgz` chart present or could be dumped out to the `files` directory
    dest: "/tmp/helm_charts"
@gravesm gravesm added type/enhancement New feature or request topic/helm Issues relating to helm plugins labels Feb 21, 2022
@abikouo abikouo self-assigned this Mar 16, 2022
@rieger07
Copy link

rieger07 commented Oct 5, 2022

+1 for this, would get rid of some shell commands in my playbooks

softwarefactory-project-zuul bot pushed a commit that referenced this issue Oct 12, 2022
helm - new module to perform helm pull

Depends-On: ansible/ansible-zuul-jobs#1586
SUMMARY

#355
new module to manage chart downloading helm pull

ISSUE TYPE


Feature Pull Request

COMPONENT NAME

helm_pull

Reviewed-by: Mike Graves <mgraves@redhat.com>
Reviewed-by: Bikouo Aubin <None>
@abikouo abikouo closed this as completed Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/helm Issues relating to helm plugins type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants