File tree 6 files changed +37
-25
lines changed
6 files changed +37
-25
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,8 @@ resources:
6
6
- ../rbac
7
7
- ../manager
8
8
9
- labels :
10
- - pairs :
11
- app.kubernetes.io/part-of : trustyai
12
- includeSelectors : true
13
- includeTemplates : true
9
+ commonLabels :
10
+ app.kubernetes.io/part-of : trustyai
14
11
15
12
configMapGenerator :
16
13
- env : params.env
@@ -22,17 +19,32 @@ configurations:
22
19
generatorOptions :
23
20
disableNameSuffixHash : true
24
21
25
- replacements :
26
- # Operator image replacement
27
- - source :
22
+ vars :
23
+ - name : trustyaiServiceImage
24
+ objref :
28
25
kind : ConfigMap
29
26
name : config
30
- version : v1
31
- fieldPath : data.trustyaiOperatorImage
32
- targets :
33
- - select :
34
- group : apps
35
- kind : Deployment
36
- name : trustyai-service-operator-controller-manager
37
- fieldPaths :
38
- - spec.template.spec.containers.0.image
27
+ apiVersion : v1
28
+ fieldref :
29
+ fieldpath : data.trustyaiServiceImage
30
+ - name : trustyaiOperatorImage
31
+ objref :
32
+ kind : ConfigMap
33
+ name : config
34
+ apiVersion : v1
35
+ fieldref :
36
+ fieldpath : data.trustyaiOperatorImage
37
+ - name : oauthProxyImage
38
+ objref :
39
+ kind : ConfigMap
40
+ name : config
41
+ apiVersion : v1
42
+ fieldref :
43
+ fieldpath : data.oauthProxyImage
44
+ - name : kServeServerless
45
+ objref :
46
+ kind : ConfigMap
47
+ name : config
48
+ apiVersion : v1
49
+ fieldref :
50
+ fieldpath : data.kServeServerless
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resources:
4
4
- bases/trustyai.opendatahub.io_guardrailsorchestrators.yaml
5
5
# +kubebuilder:scaffold:crdkustomizeresource
6
6
7
- patches : []
7
+ patchesStrategicMerge : []
8
8
# +kubebuilder:scaffold:crdkustomizewebhookpatch
9
9
# +kubebuilder:scaffold:crdkustomizecainjectionpatch
10
10
Original file line number Diff line number Diff line change 34
34
- --leader-elect
35
35
- --enable-services
36
36
- " TAS,LMES,GORCH"
37
- image : " quay.io/trustyai/trustyai-service-operator:latest "
37
+ image : $(trustyaiOperatorImage)
38
38
name : manager
39
39
securityContext :
40
40
runAsNonRoot : true
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ kind: Kustomization
4
4
resources :
5
5
- ../../base
6
6
7
- patches :
8
- - path : lmes-only-patch.yaml
7
+ patchesStrategicMerge :
8
+ - lmes-only-patch.yaml
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ kind: Kustomization
4
4
resources :
5
5
- ../../base
6
6
7
- patches :
8
- - path : patch.yaml
7
+ patchesStrategicMerge :
8
+ - patch.yaml
9
9
10
10
configMapGenerator :
11
11
- env : params.env
Original file line number Diff line number Diff line change 1
1
resources :
2
2
- ../../base
3
3
4
- patches :
5
- - path : image-pull-policy.yaml
4
+ patchesStrategicMerge :
5
+ - image-pull-policy.yaml
You can’t perform that action at this time.
0 commit comments