Skip to content

Commit

Permalink
feat(base-cluster): add weaveworks gitops dashboard chart
Browse files Browse the repository at this point in the history
  • Loading branch information
tasches committed Jan 12, 2024
1 parent f661166 commit a669187
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
24 changes: 24 additions & 0 deletions charts/base-cluster/templates/weave/gitops.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{{- if .Values.weaveworks.enabled }}
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-dashboard
namespace: weave
spec:
chart:
spec:
chart: weave-gitops
sourceRef:
kind: HelmRepository
name: weaveworks
interval: 5m
values:
ingress:
enabled: false
host: ""
metrics:
enabled: {{ and .Values.weaveworks.metrics.enabled .Values.monitoring.prometheus.enabled }}
{{- end }}
54 changes: 54 additions & 0 deletions charts/base-cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,60 @@
},
"additionalProperties": false
},
"weaveworks": {
"type": "object",
"description": "Values for the gitops-chart",
"properties": {
"enabled": {
"type": "boolean"
},
"ingress": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"host": {
"type": "string"
},
"tls": {
"type": "array"
}
}
},
"oidcSecret": {
"type": "object",
"properties": {
"additionalKeys": {
"type": "object"
},
"create": {
"type": "boolean"
}
}
},
"replicaCount": {
"type": "integer"
},
"rbac": {
"additionalRules": {
"type": "array"
},
"create": {
"type": "boolean"
},
"impersonationResourceNames": {
"type": "array"
},
"impersonationResources": {
"type": "array"
},
"viewSecretsResourceNames": {
"type": "array"
}
}
}
},
"common": {
"type": "object",
"description": "Values for sub-chart"
Expand Down
8 changes: 8 additions & 0 deletions charts/base-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ global:
charts:
velero: 5.x
condition: "{{ .Values.backup.enabled }}"
weaveworks:
url: oci://ghcr.io/weaveworks/charts
charts:
weave-gitops: 4.x.x
condition: "{{ .Values.weaveworks.enabled }}"
open-telemetry:
url: https://open-telemetry.github.io/opentelemetry-helm-charts
charts:
Expand Down Expand Up @@ -444,3 +449,6 @@ backup:
limits:
cpu: 500m
memory: 500Mi

weaveworks:
enabled: false

0 comments on commit a669187

Please sign in to comment.