Kubernetes

How to Install Chartmuseum on Kubernetes Using Helm

Pinterest LinkedIn Tumblr

ChartMuseum is an open-source Helm Chart Repository server written in Go (Golang), with support for cloud storage backends, including Google Cloud Storage, Amazon S3, Microsoft Azure Blob Storage, Alibaba Cloud OSS Storage and Openstack Object Storage.

Add stable repo

helm repo add stable https://charts.helm.sh/stable
helm repo add stable https://charts.helm.sh/stable --force-update

Create values file:

ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: nginx
    cert-manager.io/cluster-issuer: letsencrypt-prod-issuer
    kubernetes.io/tls-acme: "true"
  hosts:
    - name: museum.dev.citizix.com
      path: /
  tls:
      - secretName: chartmuseum-tls-tooling
        hosts:
          - museum.dev.citizix.com

env:
  open:
    DEBUG: "true"
    DISABLE_API: "false"
    STORAGE: "local"
    STORAGE_LOCAL_ROOTDIR: "/charts"
    BASIC_AUTH_USER: admin
    BASIC_AUTH_PASS: <password>

Install:

helm upgrade -i museum stable/chartmuseum -f museum/values.yaml -n tooling

Adding the repo

helm repo add --username admin --password <password> citizix http://museum.dev.citizix.com

I am a Devops Engineer, but I would describe myself as a Tech Enthusiast who is a fan of Open Source, Linux, Automations, Cloud and Virtualization. I love learning and exploring new things so I blog in my free time about Devops related stuff, Linux, Automations and Open Source software. I can also code in Python and Golang.

Write A Comment