remove Weave GitOps addon
Drop the Flux UI addon and its Tailscale exposure because the UI lags the current Flux APIs and reports misleading HelmRelease errors. Keep Flux managed through the controllers themselves and use Rancher or the flux CLI for access.
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: cluster-user-auth
|
||||
namespace: flux-system
|
||||
spec:
|
||||
refreshInterval: 1h
|
||||
secretStoreRef:
|
||||
name: doppler-hetznerterra
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: cluster-user-auth
|
||||
creationPolicy: Owner
|
||||
template:
|
||||
type: Opaque
|
||||
data:
|
||||
username: "{{ .fluxAdminUsername }}"
|
||||
password: "{{ .fluxAdminPasswordHash }}"
|
||||
data:
|
||||
- secretKey: fluxAdminUsername
|
||||
remoteRef:
|
||||
key: WEAVE_GITOPS_ADMIN_USERNAME
|
||||
- secretKey: fluxAdminPasswordHash
|
||||
remoteRef:
|
||||
key: WEAVE_GITOPS_ADMIN_PASSWORD_BCRYPT_HASH
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: flux-tailscale
|
||||
namespace: flux-system
|
||||
annotations:
|
||||
tailscale.com/hostname: flux
|
||||
tailscale.com/tags: "tag:prod,tag:flux"
|
||||
tailscale.com/proxy-class: infra-stable
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
loadBalancerClass: tailscale
|
||||
selector:
|
||||
app.kubernetes.io/name: weave-gitops
|
||||
app.kubernetes.io/instance: flux-system-weave-gitops
|
||||
ports:
|
||||
- name: http
|
||||
port: 9001
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
@@ -1,10 +0,0 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: weave-gitops
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h
|
||||
url: https://github.com/weaveworks/weave-gitops
|
||||
ref:
|
||||
tag: v0.39.0-rc.2
|
||||
@@ -1,38 +0,0 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: weave-gitops
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
targetNamespace: flux-system
|
||||
chart:
|
||||
spec:
|
||||
chart: ./charts/gitops-server
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: weave-gitops
|
||||
namespace: flux-system
|
||||
install:
|
||||
createNamespace: true
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 9001
|
||||
adminUser:
|
||||
create: true
|
||||
createClusterRole: true
|
||||
createSecret: false # Secret is managed by External Secret from Doppler
|
||||
username: admin
|
||||
rbac:
|
||||
create: true
|
||||
impersonationResourceNames:
|
||||
- admin
|
||||
viewSecretsResourceNames:
|
||||
- cluster-user-auth
|
||||
- oidc-auth
|
||||
@@ -1,7 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- cluster-user-auth-externalsecret.yaml
|
||||
- gitrepository-weave-gitops.yaml
|
||||
- helmrelease-weave-gitops.yaml
|
||||
- flux-tailscale-service.yaml
|
||||
@@ -1,19 +0,0 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: addon-flux-ui
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: platform
|
||||
path: ./infrastructure/addons/flux-ui
|
||||
dependsOn:
|
||||
- name: addon-external-secrets
|
||||
- name: addon-tailscale-operator
|
||||
- name: addon-tailscale-proxyclass
|
||||
wait: true
|
||||
timeout: 5m
|
||||
suspend: false
|
||||
@@ -8,7 +8,6 @@ resources:
|
||||
- kustomization-tailscale-operator.yaml
|
||||
- kustomization-tailscale-proxyclass.yaml
|
||||
- traefik
|
||||
- kustomization-flux-ui.yaml
|
||||
- kustomization-observability.yaml
|
||||
- kustomization-observability-content.yaml
|
||||
- kustomization-rancher.yaml
|
||||
|
||||
Reference in New Issue
Block a user