Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 604ea9c

Browse files
committed
Update chart
1 parent d97742a commit 604ea9c

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed

config/manager/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
resources:
22
- 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

helm/chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.1.3
16+
version: 0.1.2-alpha
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.
2020
# It is recommended to use it with quotes.
21-
appVersion: "0.1.0-alpha"
21+
appVersion: "0.1.2-alpha"

helm/chart/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
command:
5656
- /manager
5757
env:
58-
{{- range $key, $value := .Values.env }}
58+
{{- range $key, $value := .Values.controllerManager.manager.env }}
5959
- name: {{ $key }}
6060
value: {{ $value | quote }}
6161
{{- end }}

helm/chart/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ controllerManager:
3232
- ALL
3333
image:
3434
repository: ghcr.io/delta10/dns-resolution-operator/controller
35-
tag: v0.1.0-alpha
35+
tag: v0.1.2-alpha
3636
resources:
3737
limits:
3838
cpu: 500m
3939
memory: 512Mi
4040
requests:
4141
cpu: 100m
4242
memory: 128Mi
43+
env: {}
4344
replicas: 1
4445
serviceAccount:
4546
annotations: {}

helm/env.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@@ -57,2 +57,6 @@
22
env:
3-
+ {{- range $key, $value := .Values.env }}
3+
+ {{- range $key, $value := .Values.controllerManager.manager.env }}
44
+ - name: {{ $key }}
55
+ value: {{ $value | quote }}
66
+ {{- end }}

helm/patches.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
$YQ -i '.version = strenv(VERSION), .appVersion = strenv(VERSION)' chart/Chart.yaml
44
$YQ -i '.name = "dns-resolution-operator", .description = "An operator to generate API resources with resolved IP addresses"' chart/Chart.yaml
55
$YQ -i '.controllerManager.manager.image.tag = "v"+strenv(VERSION)' chart/values.yaml
6+
$YQ -i '.controllerManager.manager.env = {}' chart/values.yaml
67

78
patch chart/templates/deployment.yaml env.patch

0 commit comments

Comments
 (0)