File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ apiVersion: v2
2
2
name : csdp-installer
3
3
description : A Helm chart used for installing a CSDP runtime
4
4
type : application
5
- version : 0.1.11
6
- appVersion : v0.0.5
5
+ version : 0.1.12
6
+ appVersion : v0.0.6
Original file line number Diff line number Diff line change 37
37
- name : CSDP_RUNTIME_NAME
38
38
value : {{ .Values.csdpInstaller.runtime.name | quote }}
39
39
- name : CSDP_RUNTIME_REPO
40
- value : {{ .Values.csdpInstaller.runtime.repo | quote }}
40
+ value : {{ .Values.csdpInstaller.runtime.repoURL }}
41
+ {{- if .Values.csdpInstaller.runtime.repoPath }}
42
+ - name : CSDP_RUNTIME_REPO_PATH
43
+ value : {{ .Values.csdpInstaller.runtime.repoPath }}
44
+ {{- end }}
41
45
- name : CSDP_RUNTIME_GIT_TOKEN
42
46
valueFrom :
43
47
secretKeyRef :
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ csdpInstaller:
25
25
name : some-runtime
26
26
# CSDP runtime installation repo url
27
27
repoURL : https://github.com/some/user-repo
28
+ # CSDP runtime installation repo path to the bootstrap directory
29
+ repoPath : " "
28
30
# Git authentication token
29
31
gitToken :
30
32
secretKeyRef :
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ CSDP_RUNTIME_VERSION="${CSDP_RUNTIME_VERSION:-latest}"
38
38
CSDP_GIT_INTEGRATION_PROVIDER=" ${CSDP_GIT_INTEGRATION_PROVIDER:- GITHUB} "
39
39
CSDP_GIT_INTEGRATION_API_URL=" ${CSDP_GIT_INTEGRATION_API_URL:- https:// api.github.com} "
40
40
CSDP_GIT_INTEGRATION_TOKEN=" ${CSDP_GIT_INTEGRATION_TOKEN:- ${CSDP_RUNTIME_GIT_TOKEN} } "
41
+ CSDP_RUNTIME_REPO_PATH=" ${CSDP_RUNTIME_REPO_PATH:- runtimes/ ${CSDP_RUNTIME_NAME} / bootstrap} "
41
42
CSDP_RUNTIME_REPO_CREDS_PATTERN=` echo ${CSDP_RUNTIME_REPO} | grep --color=never -E -o ' ^http[s]?:\/\/([a-zA-Z0-9\.]*)' `
42
43
CSDP_MANAGED_RUNTIME=" ${CSDP_MANAGED_RUNTIME:- false} "
43
44
@@ -146,7 +147,7 @@ create_bootstrap_application() {
146
147
jsonPointers:
147
148
- /status
148
149
source:
149
- path: base/bootstrap
150
+ path: ${CSDP_RUNTIME_REPO_PATH}
150
151
repoURL: ${CSDP_RUNTIME_REPO}
151
152
targetRevision: HEAD
152
153
syncPolicy:
@@ -290,6 +291,7 @@ echo " namespace: ${NAMESPACE}"
290
291
echo " csdp url: ${CSDP_URL} "
291
292
echo " csdp token: ****"
292
293
echo " runtime repo: ${CSDP_RUNTIME_REPO} "
294
+ echo " runtime repo path: ${CSDP_RUNTIME_REPO_PATH} "
293
295
echo " runtime repo creds pattern: ${CSDP_RUNTIME_REPO_CREDS_PATTERN} "
294
296
echo " runtime git-token: ****"
295
297
echo " runtime cluster: ${CSDP_RUNTIME_CLUSTER} "
You can’t perform that action at this time.
0 commit comments