diff --git a/chart/templates/post-install/app_of_apps.yaml b/chart/templates/post-install/app_of_apps.yaml index 42e32d2..70a96f9 100644 --- a/chart/templates/post-install/app_of_apps.yaml +++ b/chart/templates/post-install/app_of_apps.yaml @@ -25,6 +25,8 @@ spec: skipCrds: false valueFiles: {{- toYaml $cv.aoa.values | nindent 8 }} + values: | + destination: {{ $cv.kubernetesApiServer }} destination: server: https://kubernetes.default.svc namespace: {{ $.Release.Namespace }} diff --git a/chart/templates/post-install/cluster_secret.yaml b/chart/templates/post-install/cluster_secret.yaml index 2782144..f2098bc 100644 --- a/chart/templates/post-install/cluster_secret.yaml +++ b/chart/templates/post-install/cluster_secret.yaml @@ -109,7 +109,7 @@ spec: provider: kubernetes: server: - url: "{{ $lk }}.{{ $ck }}.{{ $cv.kubernetesApiServerBaseDomain }}" + url: "{{ $cv.kubernetesApiServer }}" caProvider: type: Secret name: "{{ $lk }}-{{ $ck }}-cluster-secret-ca-crt" diff --git a/chart/values.suicune.opal-ruby.yaml b/chart/values.suicune.opal-ruby.yaml index 6d531c3..864deb3 100644 --- a/chart/values.suicune.opal-ruby.yaml +++ b/chart/values.suicune.opal-ruby.yaml @@ -47,7 +47,7 @@ connector: opal: refreshInterval: 1h remoteSecretName: ENTEI_OPAL_KUBECONFIG - kubernetesApiServerBaseDomain: kubernetes.atomi.cloud + kubernetesApiServer: https://7c18dd8b-3d7a-43da-9ad6-b38c615781b0.k8s.ondigitalocean.com aoa: enable: true repo: https://github.com/AtomiCloud/sulfoxide.carbon