File tree Expand file tree Collapse file tree 4 files changed +29
-21
lines changed Expand file tree Collapse file tree 4 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 1
1
resources :
2
- - https://github.com/argoproj/ argo-cd/manifests/crds?ref=stable
3
- - https://github.com/argoproj/ argo-cd/manifests/base/config?ref=stable
4
- - https://github.com/argoproj/ argo-cd/manifests/base/redis?ref=stable
5
- - https://github.com/argoproj/ argo-cd/manifests/base/repo-server?ref=stable
6
- - https://github.com/argoproj/ argo-cd/manifests/base/application-controller?ref=stable
7
- - https://github.com/argoproj/ argo-cd/manifests/cluster-rbac/application-controller?ref=stable
2
+ - ../ argo-cd/manifests/crds
3
+ - ../ argo-cd/manifests/base/config
4
+ - ../ argo-cd/manifests/base/redis
5
+ - ../ argo-cd/manifests/base/repo-server
6
+ - ../ argo-cd/manifests/base/application-controller
7
+ - ../ argo-cd/manifests/cluster-rbac/application-controller
8
8
- ../common
9
9
10
10
images :
Original file line number Diff line number Diff line change 1
1
resources :
2
- - https://github.com/argoproj/ argo-cd/manifests/crds?ref=stable
3
- - https://github.com/argoproj/ argo-cd/manifests/base/config?ref=stable
4
- - https://github.com/argoproj/ argo-cd/manifests/base/redis?ref=stable
5
- - https://github.com/argoproj/ argo-cd/manifests/base/repo-server?ref=stable
6
- - https://github.com/argoproj/ argo-cd/manifests/base/application-controller?ref=stable
7
- - https://github.com/argoproj/ argo-cd/manifests/cluster-rbac/application-controller?ref=stable
2
+ - ../ argo-cd/manifests/crds
3
+ - ../ argo-cd/manifests/base/config
4
+ - ../ argo-cd/manifests/base/redis
5
+ - ../ argo-cd/manifests/base/repo-server
6
+ - ../ argo-cd/manifests/base/application-controller
7
+ - ../ argo-cd/manifests/cluster-rbac/application-controller
8
8
- ../common
9
9
10
10
images :
Original file line number Diff line number Diff line change 1
1
resources :
2
- - https://github.com/argoproj/ argo-cd/manifests/crds?ref=stable
3
- - https://github.com/argoproj/ argo-cd/manifests/base/config?ref=stable
4
- - https://github.com/argoproj/ argo-cd/manifests/base/dex?ref=stable
5
- - https://github.com/argoproj/ argo-cd/manifests/base/redis?ref=stable
6
- - https://github.com/argoproj/ argo-cd/manifests/base/repo-server?ref=stable
7
- - https://github.com/argoproj/ argo-cd/manifests/base/server?ref=stable
8
- - https://github.com/argoproj/ argo-cd/manifests/cluster-rbac/server?ref=stable
9
- - https://github.com/argoproj/ argo-cd/examples/k8s-rbac/argocd-server-applications?ref=stable
2
+ - ../ argo-cd/manifests/crds
3
+ - ../ argo-cd/manifests/base/config
4
+ - ../ argo-cd/manifests/base/dex
5
+ - ../ argo-cd/manifests/base/redis
6
+ - ../ argo-cd/manifests/base/repo-server
7
+ - ../ argo-cd/manifests/base/server
8
+ - ../ argo-cd/manifests/cluster-rbac/server
9
+ - ../ argo-cd/examples/k8s-rbac/argocd-server-applications
10
10
- ../common
11
11
12
12
images :
Original file line number Diff line number Diff line change @@ -91,7 +91,15 @@ apply() {
91
91
echo " -> TMP_DIR is $TMP_DIR "
92
92
cp -r ${SCRIPTPATH} /* $TMP_DIR
93
93
94
- # Comment out 'loadBalancerIP:' lines on OpenShift
94
+ mkdir -p ${TMP_DIR} /argo-cd
95
+ cd ${TMP_DIR} /argo-cd
96
+ git init
97
+ git remote add origin https://github.com/argoproj/argo-cd
98
+ git fetch --depth=1 origin stable
99
+ git checkout FETCH_HEAD
100
+ cd -
101
+
102
+ # Comment out 'loadBalancerIP:' lines on OpenShift
95
103
if [[ " $OPENSHIFT " != " " ]]; then
96
104
sed -i.bak -e ' /loadBalancerIP/s/^/#/' $TMP_DIR /control-plane/redis-service.yaml
97
105
sed -i.bak -e ' /loadBalancerIP/s/^/#/' $TMP_DIR /control-plane/repo-server-service.yaml
You can’t perform that action at this time.
0 commit comments