Skip to content

Commit

Permalink
fix: api server passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Oct 5, 2023
1 parent 8ebae5d commit 32251c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions chart/templates/post-install/app_of_apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/post-install/cluster_secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion chart/values.suicune.opal-ruby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32251c9

Please sign in to comment.