https://rancher.com/ logo
#general
Title
# general
b

billowy-apple-60989

04/24/2023, 8:48 AM
Heya 👋 I'm trying to figure out the correct chart & name to deploy rancher-monitoring (and later some other charts) using Fleet but i'm stuck, hoping for some input. The following throws error
no chart name found
Copy code
defaultNamespace: cattle-monitoring-system
helm:
  chart: rancher-charts/rancher-monitoring
  repo: <https://charts.rancher.io>
  releaseName: rancher-monitoring
  version: 102.0.0+up40.1.2
  namespace: cattle-monitoring-system
  values:
    replicaCount: 1
However if i try an example i found it works fine:
Copy code
defaultNamespace: rocketchat
helm:
  chart: rocketchat
  repo: <https://rocketchat.github.io/helm-charts>
  releaseName: "rocketchat"
  version: "5.1.2"
  namespace: rocketchat
  values:
    mongodb:
      auth:
        rootPassword: "rootpassword"
        username: "fakeuser"
        password: "fakepassword"
What is the correct chart and repo to use for monitoring..?
m

mammoth-postman-10874

04/24/2023, 8:49 AM
chart is rancher-monitoring
b

billowy-apple-60989

04/24/2023, 8:49 AM
I tried that aswell, throws the same error
eh.. wtf or so i thought apperntly..
m

mammoth-postman-10874

04/24/2023, 8:50 AM
Untitled.yaml
b

billowy-apple-60989

04/24/2023, 8:50 AM
jfc..
m

mammoth-postman-10874

04/24/2023, 8:50 AM
This is a snippet from index.yaml
b

billowy-apple-60989

04/24/2023, 8:50 AM
I must've had a typo in the chart or something..
Yup the following seems to work with `fleet test`:
Copy code
defaultNamespace: cattle-monitoring-system
helm:
  chart: rancher-monitoring
  repo: <https://charts.rancher.io>
  releaseName: rancher-monitoring
  version: 102.0.0+up40.1.2
  namespace: cattle-monitoring-system
  values:
    ...
Thanks 🫠
m

mammoth-postman-10874

04/24/2023, 9:02 AM
yaw
b

billowy-apple-60989

04/24/2023, 9:40 AM
Any idea if it's possible to add annotations aswell? Trying to add the following so the CRD chart is also deployed
Copy code
defaultNamespace: cattle-monitoring-system
helm:
  chart: rancher-monitoring
  metadata:
    annotations:
      <http://catalog.cattle.io/auto-install|catalog.cattle.io/auto-install>: rancher-monitoring-crd=match
  repo: <https://charts.rancher.io>
  releaseName: rancher-monitoring
  version: 102.0.0+up40.1.2
  namespace: cattle-monitoring-system
  values: ...
But it doesn't seem to do anything
17 Views