Skip to content

Commit

Permalink
fixed installer managed repo-creds
Browse files Browse the repository at this point in the history
  • Loading branch information
roi-codefresh committed May 9, 2022
1 parent 8fb75c0 commit add46db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions installer/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: csdp-installer
description: A Helm chart used for installing a CSDP runtime
type: application
version: 0.1.17
appVersion: v0.0.8
version: 0.1.18
appVersion: v0.0.9
8 changes: 4 additions & 4 deletions installer/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ clean_failed_pods() {
# Constants:
CODEFRESH_SECRET_NAME="codefresh-token"
CODEFRESH_CM_NAME="codefresh-cm"
REPO_CREDS_SECRET_NAME="autopilot-secret"
REPO_CREDS_SECRET_NAME="repo-creds-secret"
ARGOCD_TOKEN_SECRET_NAME="argocd-token"
ARGOCD_INITIAL_TOKEN_SECRET_NAME="argocd-initial-admin-secret"
BOOTSTRAP_APP_NAME="csdp-bootstrap"
Expand Down Expand Up @@ -183,12 +183,12 @@ create_managed_repo_creds_secret() {
kind: Secret
metadata:
labels:
argocd.argoproj.io/secret-type: repository
argocd.argoproj.io/secret-type: repo-creds
name: $REPO_CREDS_SECRET_NAME
namespace: $NAMESPACE
stringData:
type: git
url: $CSDP_RUNTIME_REPO
url: https://github.com/codefresh-io/
password: $CSDP_RUNTIME_GIT_TOKEN
username: username
" | kubectl apply -f -
Expand Down Expand Up @@ -306,7 +306,7 @@ create_default_git_source() {

echo " --> Created default git source:"
echo "${GIT_SOURCE_CREATE_RESPONSE}"
echo ""
echo ""
}

#
Expand Down

0 comments on commit add46db

Please sign in to comment.