File tree 8 files changed +20
-20
lines changed
8 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104
104
105
105
- name : Update image version in params.env
106
106
run : |
107
- VERSION=${{ github.event.inputs.version }} perl -i -pe 's/:(.*)$/:$ENV{"VERSION"}/' config/manager /params.env
107
+ VERSION=${{ github.event.inputs.version }} perl -i -pe 's/:(.*)$/:$ENV{"VERSION"}/' config/manifests/bases /params.env
108
108
shell : bash
109
109
110
110
- name : Login to Quay.io
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
198
198
199
199
.PHONY : deploy
200
200
deploy : manifests kustomize # # Deploy controller to the K8s cluster specified in ~/.kube/config.
201
- cd config/manager && IMAGE= $( IMG ) perl -i -pe ' s/odh-codeflare-operator- controller-image=(.*)$$/odh-codeflare-operator-controller-image=$$ENV{"IMAGE"}/ ' params.env
201
+ cd config/manager && $( KUSTOMIZE ) edit set image controller= ${IMG}
202
202
$(KUSTOMIZE ) build config/${ENV} | kubectl apply -f -
203
203
git restore config/*
204
204
Original file line number Diff line number Diff line change 1
1
resources :
2
2
- manager.yaml
3
3
4
- configMapGenerator :
5
- - name : codeflare-stack-config
6
- envs :
7
- - params.env
8
- configurations :
9
- - params.yaml
10
-
11
- vars :
12
- - name : odh_codeflare_operator_controller_image
13
- objref :
14
- kind : ConfigMap
15
- name : codeflare-stack-config
16
- apiVersion : v1
17
- fieldref :
18
- fieldpath : data.odh-codeflare-operator-controller-image
19
-
20
4
generatorOptions :
21
5
disableNameSuffixHash : true
Original file line number Diff line number Diff line change 34
34
containers :
35
35
- command :
36
36
- /manager
37
- image : $(odh_codeflare_operator_controller_image)
37
+ image : controller:latest
38
38
imagePullPolicy : Always
39
39
name : manager
40
40
securityContext :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ odh-codeflare-operator-controller-image = quay.io/opendatahub/codeflare-operator:v1.0.0
File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,3 +6,19 @@ resources:
6
6
- ../scorecard
7
7
apiVersion : kustomize.config.k8s.io/v1beta1
8
8
kind : Kustomization
9
+
10
+ configMapGenerator :
11
+ - name : codeflare-stack-config
12
+ envs :
13
+ - bases/params.env
14
+ configurations :
15
+ - bases/params.yaml
16
+
17
+ vars :
18
+ - name : odh-codeflare-operator-controller-image
19
+ objref :
20
+ kind : ConfigMap
21
+ name : codeflare-stack-config
22
+ apiVersion : v1
23
+ fieldref :
24
+ fieldpath : data.odh-codeflare-operator-controller-image
You can’t perform that action at this time.
0 commit comments