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

Helm Chart inaccessible #97

Closed
zer0stars opened this issue Oct 21, 2023 · 4 comments
Closed

Helm Chart inaccessible #97

zer0stars opened this issue Oct 21, 2023 · 4 comments
Assignees

Comments

@zer0stars
Copy link

Love this project, but seems like the helm chart repository is no longer working? Is it possible to fix it?

@sarasensible
Copy link

sarasensible commented Oct 23, 2023

I was able to use the helm chart to install using the following steps:

VERSION="v0.6.1"
kubectl apply -f https://raw.githubusercontent.com/cloudflare/origin-ca-issuer/${VERSION}/deploy/crds/cert-manager.k8s.cloudflare.com_originissuers.yaml
helm repo add cloudflare https://cloudflare.github.io/origin-ca-issuer/charts
helm upgrade --install cloudflare-ca cloudflare/origin-ca-issuer --set controller.resources.limits.cpu=500m --set controller.resources.limits.memory=512Mi --set controller.resources.requests.cpu=500m  --set controller.resources.resources.memory=512Mi # to avoid the OOMKilled error

The README at https://github.com/cloudflare/origin-ca-issuer/tree/trunk/deploy/charts/origin-ca-issuer needs updating

@terinjokes terinjokes self-assigned this Dec 31, 2023
terinjokes added a commit that referenced this issue Dec 31, 2023
Create a GitHub Action that lints the Helm chart and tests installing to
a KinD cluster.

Bug: #90
Bug: #97
terinjokes added a commit that referenced this issue Dec 31, 2023
Create a GitHub Action that lints the Helm chart and tests installing to
a KinD cluster.

Bug: #90
Bug: #97
terinjokes added a commit that referenced this issue Dec 31, 2023
Create a GitHub Action that for the origin-ca-issuer Helm chart that
lints, tests installing to a KinD cluster, and publishes to an OCI
registry on new releases.

Bug: #90
Bug: #97
terinjokes added a commit that referenced this issue Jan 4, 2024
Create a GitHub Action that for the origin-ca-issuer Helm chart that
lints, tests installing to a KinD cluster, and publishes to an OCI
registry on new releases.

Bug: #90
Bug: #97
terinjokes added a commit that referenced this issue Jan 4, 2024
Create a GitHub Action that for the origin-ca-issuer Helm chart that
lints, tests installing to a KinD cluster, and publishes to an OCI
registry on new releases.

Bug: #90
Bug: #97
@robrides
Copy link

Inspecting the repository, if you use chart version 0.5.0 you will get appversion 0.6.1 available as a helm package you can use with terraform. Still have to install the CRDs separately.

helm repo add origin-ca-issuer https://cloudflare.github.io/origin-ca-issuer/charts
"origin-ca-issuer" has been added to your repositories

helm search repo origin-ca-issuer                                             
NAME                             	CHART VERSION	APP VERSION	DESCRIPTION                      
origin-ca-issuer/origin-ca-issuer	0.5.0        	0.6.1      	A Helm chart for origin-ca-issuer

Using in terraform

resource "helm_release" "origin-ca-issuer" {
  name            = "origin-ca-issuer"  
  namespace  = "origin-ca-issuer"
  repository    = "https://cloudflare.github.io/origin-ca-issuer/charts"
  chart             = "origin-ca-issuer"
  version         = "0.5.0"
  create_namespace = true

  set {
    name = "controller.resources.limits.cpu"
    value = "500m"
   } 
  set {
    name = "controller.resources.limits.memory"
    value = "512Mi"
  }
  set {
    name = "controller.resources.requests.cpu"
    value = "500m"
  }  
  set {
    name = "controller.resources.resources.memory"
    value = "512Mi"
  }

}

@terinjokes
Copy link
Contributor

I'm in the process of automating publishing charts (you can see the PRs of that work above), but at this point we're not including CRDs.

@terinjokes
Copy link
Contributor

The chart is now being published by GitHub Actions to the OCI registry at oci://ghcr.io/cloudflare/origin-ca-issuer-charts/origin-ca-issuer. See Helm's documentation on Using OCI-based registries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants