diff --git a/bootstrap/helmrepositories/helmrepository-weave-gitops.yaml b/bootstrap/helmrepositories/helmrepository-weave-gitops.yaml index c87c813..cfa09d2 100644 --- a/bootstrap/helmrepositories/helmrepository-weave-gitops.yaml +++ b/bootstrap/helmrepositories/helmrepository-weave-gitops.yaml @@ -1,6 +1,14 @@ apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: + annotations: + metadata.weave.works/description: This is the source location for the Weave GitOps + Dashboard's helm chart. + labels: + app.kubernetes.io/component: ui + app.kubernetes.io/created-by: weave-gitops-cli + app.kubernetes.io/name: weave-gitops-dashboard + app.kubernetes.io/part-of: weave-gitops name: weave-gitops namespace: flux-system spec: diff --git a/gitops.yaml b/gitops.yaml new file mode 100644 index 0000000..be06bc8 --- /dev/null +++ b/gitops.yaml @@ -0,0 +1,41 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + annotations: + metadata.weave.works/description: This is the source location for the Weave GitOps + Dashboard's helm chart. + labels: + app.kubernetes.io/component: ui + app.kubernetes.io/created-by: weave-gitops-cli + app.kubernetes.io/name: weave-gitops-dashboard + app.kubernetes.io/part-of: weave-gitops + name: weave-gitops + namespace: flux-system +spec: + interval: 1h0m0s + type: oci + url: oci://ghcr.io/weaveworks/charts +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + annotations: + metadata.weave.works/description: This is the Weave GitOps Dashboard. It provides + a simple way to get insights into your GitOps workloads. + name: weave-gitops + namespace: flux-system +spec: + chart: + spec: + chart: weave-gitops + sourceRef: + kind: HelmRepository + name: weave-gitops + interval: 1h0m0s + values: + adminUser: + create: true + passwordHash: $2a$10$OmrA7DPQO1xYP.VQtcMFCeL5edm7VkRXD.huLOWzD0q5AeBuyQra. + username: admin + diff --git a/weave-gitops/helmrelease-traefik.yaml b/weave-gitops/helmrelease-weave-gitops.yaml similarity index 94% rename from weave-gitops/helmrelease-traefik.yaml rename to weave-gitops/helmrelease-weave-gitops.yaml index 43fef2b..c36f454 100644 --- a/weave-gitops/helmrelease-traefik.yaml +++ b/weave-gitops/helmrelease-weave-gitops.yaml @@ -14,7 +14,6 @@ spec: namespace: flux-system interval: 15m timeout: 5m - releaseName: weave-gitops values: adminUser: create: true