diff --git a/chart/templates/post-install/app_of_apps.yaml b/chart/templates/post-install/app_of_apps.yaml index 70a96f9..42e32d2 100644 --- a/chart/templates/post-install/app_of_apps.yaml +++ b/chart/templates/post-install/app_of_apps.yaml @@ -25,8 +25,6 @@ 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 f2098bc..69eaa60 100644 --- a/chart/templates/post-install/cluster_secret.yaml +++ b/chart/templates/post-install/cluster_secret.yaml @@ -95,30 +95,5 @@ spec: remoteRef: key: "{{ $cv.remoteSecretName }}" --- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - name: {{ $lk }}-{{ $ck }} - annotations: - {{- include "sulfoxide-helium.annotations" $ | nindent 4 }} - "helm.sh/hook": post-install, post-upgrade - "helm.sh/hook-weight": "2" - labels: - {{- include "sulfoxide-helium.labels" $ | nindent 4 }} -spec: - provider: - kubernetes: - server: - url: "{{ $cv.kubernetesApiServer }}" - caProvider: - type: Secret - name: "{{ $lk }}-{{ $ck }}-cluster-secret-ca-crt" - key: ca.crt - auth: - token: - bearerToken: - name: "{{ $lk }}-{{ $ck }}-cluster-secret-bearer-token" - key: "BEARER_TOKEN" ---- {{- end }} {{- end }} diff --git a/chart/values.suicune.opal-ruby.yaml b/chart/values.suicune.opal-ruby.yaml index 864deb3..b78e86b 100644 --- a/chart/values.suicune.opal-ruby.yaml +++ b/chart/values.suicune.opal-ruby.yaml @@ -47,7 +47,6 @@ connector: opal: refreshInterval: 1h remoteSecretName: ENTEI_OPAL_KUBECONFIG - kubernetesApiServer: https://7c18dd8b-3d7a-43da-9ad6-b38c615781b0.k8s.ondigitalocean.com aoa: enable: true repo: https://github.com/AtomiCloud/sulfoxide.carbon