fix weave-gitops app
This commit is contained in:
31
kubernetes/apps/weave-gitops/app/ingress.yaml
Normal file
31
kubernetes/apps/weave-gitops/app/ingress.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: weave-gitops-ingress
|
||||||
|
namespace: weave-gitops
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: "weave-gitops.edward.sydney"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: weave-gitops
|
||||||
|
port:
|
||||||
|
number: 9001
|
||||||
|
- host: "weave-gitops.cluster.local"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: weave-gitops
|
||||||
|
port:
|
||||||
|
number: 9001
|
||||||
41
kubernetes/apps/weave-gitops/app/release.yaml
Normal file
41
kubernetes/apps/weave-gitops/app/release.yaml
Normal file
@@ -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: ww-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: ww-gitops
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: weave-gitops
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: ww-gitops
|
||||||
|
interval: 1h0m0s
|
||||||
|
values:
|
||||||
|
adminUser:
|
||||||
|
create: true
|
||||||
|
passwordHash: $2a$10$gnPEHsFzIJXg/eron5LiQ.teGZkKETxuA2WAyKSbxHvxpkzWJvbDe
|
||||||
|
username: admin
|
||||||
|
|
||||||
@@ -1,41 +1,16 @@
|
|||||||
---
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
kind: Kustomization
|
||||||
kind: HelmRepository
|
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
name: weave-gitops
|
||||||
metadata.weave.works/description: This is the source location for the Weave GitOps
|
namespace: 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: ww-gitops
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
spec:
|
||||||
interval: 1h0m0s
|
interval: 10m
|
||||||
type: oci
|
timeout: 1m30s
|
||||||
url: oci://ghcr.io/weaveworks/charts
|
retryInterval: 30s
|
||||||
---
|
targetNamespace: flux-system
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
path: ./kubernetes/apps/weave-gitops/app
|
||||||
kind: HelmRelease
|
prune: true
|
||||||
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: ww-gitops
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
chart:
|
|
||||||
spec:
|
|
||||||
chart: weave-gitops
|
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: GitRepository
|
||||||
name: ww-gitops
|
namespace: flux-system
|
||||||
interval: 1h0m0s
|
name: flux-system
|
||||||
values:
|
|
||||||
adminUser:
|
|
||||||
create: true
|
|
||||||
passwordHash: $2a$10$gnPEHsFzIJXg/eron5LiQ.teGZkKETxuA2WAyKSbxHvxpkzWJvbDe
|
|
||||||
username: admin
|
|
||||||
|
|
||||||
4
kubernetes/infrastructure/namespaces/weave-gitops.yaml
Normal file
4
kubernetes/infrastructure/namespaces/weave-gitops.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: weave-gitops
|
||||||
Reference in New Issue
Block a user