Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

chart: offer support for Helm (getter) plugin init containers #267

Closed
hiddeco opened this issue Feb 5, 2020 · 0 comments
Closed

chart: offer support for Helm (getter) plugin init containers #267

hiddeco opened this issue Feb 5, 2020 · 0 comments
Labels
chart Related to the Helm chart help wanted Anyone looking to contribute can pick this up

Comments

@hiddeco
Copy link
Member

hiddeco commented Feb 5, 2020

Support for Helm (getter) plugins has been worked on in #263 and will be merged soon. The mentioned PR does however not make the functionalities easily accessible using our Helm chart.

To best way in my opinion to make them accessible using the chart would be to create some dynamic method that is able to generate plugin installing init containers using the following format:

pluginInitContainers:
- helmVersion: v2
  plugin: https://github.com/hypnoglow/helm-s3.git
  version: 0.9.2
- helmVersion: v3
  plugin: https://github.com/hayorov/helm-gcs
  version: 0.3.0

This would result in the definition of two initContainers entries for the Helm operator deployment:

initContainers:
- name: helm-v2-plugin-helm-s3
  image: docker.io/fluxcd/helm-operator:1.0.0-rc8
  command: ['sh', '-c', 'helm2 plugin install https://github.com/hypnoglow/helm-s3.git --version 0.9.2']
  # Helm home mount entry
- name: helm-v3-plugin-helm-gcs
  image: docker.io/fluxcd/helm-operator:1.0.0-rc8
  command: ['sh', '-c', 'helm3 plugin install https://github.com/hayorov/helm-gcs --version 0.3.0']
  # Helm home mount entry
@hiddeco hiddeco added help wanted Anyone looking to contribute can pick this up chart Related to the Helm chart labels Feb 5, 2020
@hiddeco hiddeco closed this as completed Feb 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
chart Related to the Helm chart help wanted Anyone looking to contribute can pick this up
Projects
None yet
Development

No branches or pull requests

1 participant