From a3047a4c24127e97cbf8c62d7aec6422fa5d9ef5 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Wed, 17 Jan 2024 15:41:14 -0800 Subject: [PATCH] ops(k8s): replace server with in-cluster name --- k8s/application.yaml | 2 +- k8s/system/flannel/application.yaml | 2 +- k8s/system/project.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/application.yaml b/k8s/application.yaml index 26edc98a..95f68ec5 100644 --- a/k8s/application.yaml +++ b/k8s/application.yaml @@ -6,7 +6,7 @@ metadata: spec: destination: namespace: default - server: https://10.1.1.173:6443 + name: in-cluster project: default source: repoURL: 'https://github.com/gensokyo-zone/infrastructure' diff --git a/k8s/system/flannel/application.yaml b/k8s/system/flannel/application.yaml index 29aa3eeb..eea6d123 100644 --- a/k8s/system/flannel/application.yaml +++ b/k8s/system/flannel/application.yaml @@ -14,7 +14,7 @@ spec: chart: flannel destination: namespace: kube-flannel - server: https://10.1.1.173:6443 + name: in-cluster syncPolicy: syncOptions: - CreateNamespace=true diff --git a/k8s/system/project.yaml b/k8s/system/project.yaml index f595aea6..f1f4393e 100644 --- a/k8s/system/project.yaml +++ b/k8s/system/project.yaml @@ -7,7 +7,7 @@ spec: description: "Underlying services and controllers required for the operation of the cluster" destinations: - namespace: "*" - server: https://10.1.1.173:6443 + name: in-cluster clusterResourceWhitelist: - group: "*" kind: "*"