File tree Expand file tree Collapse file tree 3 files changed +2
-55
lines changed Expand file tree Collapse file tree 3 files changed +2
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
apiVersion : kustomize.config.k8s.io/v1beta1
2
2
kind : Kustomization
3
- namespace : codefresh4
4
3
resources :
5
- - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.1/manifests/install.yaml
6
- - https://raw.githubusercontent.com/argoproj-labs/applicationset/master/manifests/install.yaml?ref=2c62537a8e5a # TODO: switch to the next release when available
7
- - default-rbac.yaml
4
+ - https://raw.githubusercontent.com/codefresh-io/cli-v2/v0.0.291/manifests/argo-cd/kustomization.yaml
8
5
- ./runtime-installer/resources
9
- images :
10
- - name : quay.io/codefresh/argocd
11
- newName : quay.io/codefresh/argocd
12
- newTag : v2.1.11-cap-CR-10085
13
-
14
- # will be effective on argo-cd 2.1
15
- configMapGenerator :
16
- - name : argocd-cm
17
- behavior : merge
18
- literals :
19
- - " timeout.reconciliation=20s"
20
- - " accounts.admin=apiKey,login" # need to be able to generate apikey for generic eventsource
21
- - name : argocd-cmd-params-cm
22
- behavior : merge
23
- literals :
24
- - " server.insecure=true"
25
-
26
- patches :
27
- # reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns
28
- - target :
29
- group : rbac.authorization.k8s.io
30
- version : v1
31
- kind : ClusterRoleBinding
32
- patch : |-
33
- - op: replace
34
- path: /subjects/0/namespace
35
- value: default
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ RUNTIME_DEF_URL="https://github.com/codefresh-io/cli-v2/releases/VERSION/downloa
23
23
24
24
# Params:
25
25
check_required_param " namespace" " ${NAMESPACE} "
26
- check_required_param " csdp url" " ${CSDP_URL} "
27
26
check_required_param " csdp token" " ${CSDP_TOKEN} "
28
27
check_required_param " runtime repo" " ${CSDP_RUNTIME_REPO} "
29
28
check_required_param " git token" " ${CSDP_RUNTIME_GIT_TOKEN} "
@@ -32,6 +31,7 @@ check_required_param "runtime ingress url" "${CSDP_RUNTIME_INGRESS_URL}"
32
31
check_required_param " runtime name" " ${CSDP_RUNTIME_NAME} "
33
32
34
33
# Defaults:
34
+ CSDP_URL=" ${CSDP_URL:- https:// g.codefresh.io} "
35
35
CSDP_RUNTIME_VERSION=" ${CSDP_RUNTIME_VERSION:- latest} "
36
36
CSDP_GIT_INTEGRATION_PROVIDER=" ${CSDP_GIT_INTEGRATION_PROVIDER:- GITHUB} "
37
37
CSDP_GIT_INTEGRATION_API_URL=" ${CSDP_GIT_INTEGRATION_API_URL:- https:// api.github.com} "
You can’t perform that action at this time.
0 commit comments