bitwarden / helm-charts

GNU Affero General Public License v3.0
19 stars 15 forks source link

sm-operator chart not listed in the index #154

Open AaronSeibert opened 1 week ago

AaronSeibert commented 1 week ago

Steps To Reproduce

From https://bitwarden.com/help/secrets-manager-kubernetes-operator/#example-usage-chart follow the directions for adding the repositor to helm - specifically helm show values bitwarden/sm-operator > my-values.yaml

Expected Result

When generating the sample values file, a file should be generated

Actual Result

❯ helm show values bitwarden/sm-operator > my-values.yaml Error: chart "sm-operator" matching not found in bitwarden index. (try 'helm repo update'): no chart version found for sm-operat

Screenshots or Videos

No response

Additional Context

No response

Chart Version

N/A

Environment Details

N/A - chart doesn't actually exist

Issue Tracking Info

AaronSeibert commented 1 week ago

Showing update and then search repo output:

❯ helm repo update bitwarden
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitwarden" chart repository
Update Complete. ⎈Happy Helming!⎈
❯ helm search repo bitwarden
NAME               CHART VERSIONAPP VERSIONDESCRIPTION                                       
bitwarden/self-host2024.6.0     2024.6.1   A Helm chart for deploying a Bitwarden instance
AaronSeibert commented 1 week ago

Looks like a --devel flag is required currently due to the Beta status. Not sure if you want to keep this open to notate in documentation?

thekoma commented 2 days ago

There is already an annotation in the documentation AFAIK. Also if you want to point at this helm via flux helmrelease (fluxcd.io) you need to specify the semver:

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: sm-operator
  namespace: flux-system
spec:
  install:
    crds: CreateReplace
  upgrade:
    crds: CreateReplace
  chart:
    spec:
      chart: sm-operator
      version: ">=0.1.0-Beta"
      sourceRef:
        kind: HelmRepository
        name: bitwarden
        namespace: flux-system
  interval: 2m30s
  values:
    settings:
      # How often the secrets synchronize in seconds.  Minimum value is 180.
      bwSecretsManagerRefreshInterval: 300