-
Notifications
You must be signed in to change notification settings - Fork 65
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 aws s3 bucket as a helm repository #187
Comments
Another note to add is that terraform helm already supports this plugin. https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release |
This sounds good to me. It would be nice to see some examples of how this feature would be used (with public/private buckets) before starting the actual implementation. |
Sure. Just FYI we are using this https://github.com/hypnoglow/helm-s3 plugin sources to integrate it with s3. So it would work the way this plugin works for authentication. |
To be clear, I am more interested in the API, e.g. how users would provide the credentials etc. over k8s api. |
Currently we are using a S3 bucket policy to grant read-only access from a specific VPC where crossplane is running. |
Concretely we are proposing to configure the IAM Role ARN into a secret that can be referenced in the ProviderConfig as follows: apiVersion: helm.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
name: helm-provider
spec:
credentials:
source: InjectedIdentity
identity:
type: AWSCredentials
source: Secret
secretRef:
name: aws-credentials
namespace: crossplane-system
key: roleArn |
I wish to amend the above proposal: the role ARN should be configured in a secret referenced by the Release object ( apiVersion: helm.crossplane.io/v1beta1
kind: Release
metadata:
name: my-service
spec:
forProvider:
chart:
name: my-chart
repository: s3://repo/charts/
version: v1.2.3
pullSecretRef:
name: s3-role
namespace: crossplane-system
namespace: my-namespace
---
apiVersion: v1
kind: Secret
metadata:
name: s3-role
type: Opaque
data:
roleARN: arn:aws:iam::999999999999:role/s3-role |
Were there any developments on this issue, I would like to fetch a helm chart from a private s3 bucket. Can't think of any solutions in the current state. |
What problem are you facing?
We are running the crossplane in the aws eks environment.
We want to keep our helm charts in aws s3 and pull and install using the helm provider.
However the helm provider today doesn't support s3 plugin.
How could Crossplane help solve your problem?
We would be interested in contributing s3 plugin support in provider helm. Is this something the community/maintainers would agree?
The text was updated successfully, but these errors were encountered: