This repository was archived by the owner on Apr 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +13
-5
lines changed Expand file tree Collapse file tree 6 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
1
resources :
2
2
- manager.yaml
3
+ apiVersion : kustomize.config.k8s.io/v1beta1
4
+ kind : Kustomization
5
+ images :
6
+ - name : controller
7
+ newName : dns-resolution-operator
8
+ newTag : v0.1.1-alpha
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ type: application
13
13
# This is the chart version. This version number should be incremented each time you make changes
14
14
# to the chart and its templates, including the app version.
15
15
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16
- version : 0.1.3
16
+ version : 0.1.2-alpha
17
17
# This is the version number of the application being deployed. This version number should be
18
18
# incremented each time you make changes to the application. Versions are not expected to
19
19
# follow Semantic Versioning. They should reflect the version the application is using.
20
20
# It is recommended to use it with quotes.
21
- appVersion : " 0.1.0 -alpha"
21
+ appVersion : " 0.1.2 -alpha"
Original file line number Diff line number Diff line change 55
55
command :
56
56
- /manager
57
57
env :
58
- {{- range $key, $value := .Values.env }}
58
+ {{- range $key, $value := .Values.controllerManager.manager. env }}
59
59
- name : {{ $key }}
60
60
value : {{ $value | quote }}
61
61
{{- end }}
Original file line number Diff line number Diff line change @@ -32,14 +32,15 @@ controllerManager:
32
32
- ALL
33
33
image :
34
34
repository : ghcr.io/delta10/dns-resolution-operator/controller
35
- tag : v0.1.0 -alpha
35
+ tag : v0.1.2 -alpha
36
36
resources :
37
37
limits :
38
38
cpu : 500m
39
39
memory : 512Mi
40
40
requests :
41
41
cpu : 100m
42
42
memory : 128Mi
43
+ env : {}
43
44
replicas : 1
44
45
serviceAccount :
45
46
annotations : {}
Original file line number Diff line number Diff line change 1
1
@@ -57,2 +57,6 @@
2
2
env:
3
- + {{- range $key, $value := .Values.env }}
3
+ + {{- range $key, $value := .Values.controllerManager.manager. env }}
4
4
+ - name: {{ $key }}
5
5
+ value: {{ $value | quote }}
6
6
+ {{- end }}
Original file line number Diff line number Diff line change 3
3
$YQ -i ' .version = strenv(VERSION), .appVersion = strenv(VERSION)' chart/Chart.yaml
4
4
$YQ -i ' .name = "dns-resolution-operator", .description = "An operator to generate API resources with resolved IP addresses"' chart/Chart.yaml
5
5
$YQ -i ' .controllerManager.manager.image.tag = "v"+strenv(VERSION)' chart/values.yaml
6
+ $YQ -i ' .controllerManager.manager.env = {}' chart/values.yaml
6
7
7
8
patch chart/templates/deployment.yaml env.patch
You can’t perform that action at this time.
0 commit comments