fix: Apply Rancher server URL after chart install
This commit is contained in:
17
infrastructure/addons/kustomization-rancher-config.yaml
Normal file
17
infrastructure/addons/kustomization-rancher-config.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: addon-rancher-config
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: platform
|
||||
path: ./infrastructure/addons/rancher-config
|
||||
dependsOn:
|
||||
- name: addon-rancher
|
||||
wait: true
|
||||
timeout: 5m
|
||||
suspend: false
|
||||
@@ -12,4 +12,5 @@ resources:
|
||||
- kustomization-observability-content.yaml
|
||||
- kustomization-cnpg-operator.yaml
|
||||
- kustomization-cnpg.yaml
|
||||
- kustomization-rancher.yaml
|
||||
- kustomization-rancher.yaml
|
||||
- kustomization-rancher-config.yaml
|
||||
|
||||
4
infrastructure/addons/rancher-config/kustomization.yaml
Normal file
4
infrastructure/addons/rancher-config/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- server-url-setting.yaml
|
||||
@@ -0,0 +1,5 @@
|
||||
apiVersion: management.cattle.io/v3
|
||||
kind: Setting
|
||||
metadata:
|
||||
name: server-url
|
||||
value: https://rancher.silverside-gopher.ts.net
|
||||
Reference in New Issue
Block a user