Skip to content

Commit add46db

Browse files
committed
fixed installer managed repo-creds
1 parent 8fb75c0 commit add46db

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

installer/helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: csdp-installer
33
description: A Helm chart used for installing a CSDP runtime
44
type: application
5-
version: 0.1.17
6-
appVersion: v0.0.8
5+
version: 0.1.18
6+
appVersion: v0.0.9

installer/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ clean_failed_pods() {
2020
# Constants:
2121
CODEFRESH_SECRET_NAME="codefresh-token"
2222
CODEFRESH_CM_NAME="codefresh-cm"
23-
REPO_CREDS_SECRET_NAME="autopilot-secret"
23+
REPO_CREDS_SECRET_NAME="repo-creds-secret"
2424
ARGOCD_TOKEN_SECRET_NAME="argocd-token"
2525
ARGOCD_INITIAL_TOKEN_SECRET_NAME="argocd-initial-admin-secret"
2626
BOOTSTRAP_APP_NAME="csdp-bootstrap"
@@ -183,12 +183,12 @@ create_managed_repo_creds_secret() {
183183
kind: Secret
184184
metadata:
185185
labels:
186-
argocd.argoproj.io/secret-type: repository
186+
argocd.argoproj.io/secret-type: repo-creds
187187
name: $REPO_CREDS_SECRET_NAME
188188
namespace: $NAMESPACE
189189
stringData:
190190
type: git
191-
url: $CSDP_RUNTIME_REPO
191+
url: https://github.com/codefresh-io/
192192
password: $CSDP_RUNTIME_GIT_TOKEN
193193
username: username
194194
" | kubectl apply -f -
@@ -306,7 +306,7 @@ create_default_git_source() {
306306

307307
echo " --> Created default git source:"
308308
echo "${GIT_SOURCE_CREATE_RESPONSE}"
309-
echo ""
309+
echo ""
310310
}
311311

312312
#

0 commit comments

Comments
 (0)