Skip to content

Commit c3fa108

Browse files
author
Daniel Nikoloski
committed
Install weave-gitops
1 parent 9e774ed commit c3fa108

File tree

5 files changed

+78
-0
lines changed

5 files changed

+78
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- repository.yaml
5+
- release.yaml
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
apiVersion: helm.toolkit.fluxcd.io/v2
2+
kind: HelmRelease
3+
metadata:
4+
annotations:
5+
metadata.weave.works/description:
6+
This is the Weave GitOps Dashboard. It provides
7+
a simple way to get insights into your GitOps workloads.
8+
name: ww-gitops
9+
namespace: flux-system
10+
spec:
11+
chart:
12+
spec:
13+
chart: weave-gitops
14+
sourceRef:
15+
kind: HelmRepository
16+
name: ww-gitops
17+
interval: 1h0m0s
18+
values:
19+
resources:
20+
requests:
21+
cpu: 100m
22+
memory: 64Mi
23+
limits:
24+
cpu: 1
25+
memory: 512Mi
26+
securityContext:
27+
capabilities:
28+
drop:
29+
- ALL
30+
readOnlyRootFilesystem: true
31+
runAsNonRoot: true
32+
runAsUser: 1000
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1
2+
kind: HelmRepository
3+
metadata:
4+
annotations:
5+
metadata.weave.works/description:
6+
This is the source location for the Weave GitOps
7+
Dashboard's helm chart.
8+
labels:
9+
app.kubernetes.io/component: ui
10+
app.kubernetes.io/created-by: weave-gitops-cli
11+
app.kubernetes.io/name: weave-gitops-dashboard
12+
app.kubernetes.io/part-of: weave-gitops
13+
name: ww-gitops
14+
namespace: flux-system
15+
spec:
16+
interval: 1h0m0s
17+
type: oci
18+
url: oci://ghcr.io/weaveworks/charts
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ../../base/weave-gitops
5+
patches:
6+
- path: release.yaml
7+
target:
8+
kind: HelmRelease
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: helm.toolkit.fluxcd.io/v2
2+
kind: HelmRelease
3+
metadata:
4+
name: ww-gitops
5+
spec:
6+
chart:
7+
spec:
8+
version: "4.0.36"
9+
values:
10+
adminUser:
11+
create: true
12+
passwordHash: $2a$12$/xzvyuZsUFacrXul.j14dOiAeZBECAO9m5.g1f9XsF1SUk4soH9DK
13+
username: admin
14+
metrics:
15+
enabled: true

0 commit comments

Comments
 (0)