Skip to content

Commit

Permalink
Merge pull request #31 from replicatedhq/salah/sc-95012/have-kots-rep…
Browse files Browse the repository at this point in the history
…ort-the-embedded-cluster-id

Ability to configure/set the embedded cluster ID
  • Loading branch information
sgalsaleh authored Dec 28, 2023
2 parents f5ede45 + 8c21cfa commit d1cf8e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-ttl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e

GIT_COMMIT=$1
export CHART_VERSION=0.0.0-${GIT_COMMIT}
export KOTS_VERSION=12h
export KOTS_TAG=12h
export KOTS_VERSION=24h
export KOTS_TAG=24h
export KOTSADM_REGISTRY=ttl.sh/$USER

curl -O -L https://raw.githubusercontent.com/replicatedhq/kots/${GIT_COMMIT}/.image.env
Expand Down
4 changes: 4 additions & 0 deletions templates/kotsadm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ spec:
name: kotsadm-minio
- name: S3_BUCKET_ENDPOINT
value: "true"
{{ end }}
{{ if .Values.embeddedClusterID }}
- name: EMBEDDED_CLUSTER_ID
value: {{ .Values.embeddedClusterID | quote }}
{{ end }}
- name: HTTP_PROXY
- name: HTTPS_PROXY
Expand Down
1 change: 1 addition & 0 deletions values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ images:
password: ""
minimalRBAC: true
isHelmManaged: true
embeddedClusterID: ""
automation:
license:
slug: ""
Expand Down

0 comments on commit d1cf8e8

Please sign in to comment.