-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the addon-resizer to the metrics-server chart
Signed-off-by: Manuel Buil <[email protected]>
- Loading branch information
1 parent
4a8568c
commit 187831c
Showing
4 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
11 changes: 10 additions & 1 deletion
11
packages/rke2-metrics-server/generated-changes/patch/templates/deployment.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
--- charts-original/templates/deployment.yaml | ||
+++ charts/templates/deployment.yaml | ||
@@ -59,7 +59,7 @@ | ||
securityContext: | ||
{{- toYaml . | nindent 12 }} | ||
{{- end }} | ||
- image: {{ include "metrics-server.image" . }} | ||
+ image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }} | ||
imagePullPolicy: {{ .Values.image.pullPolicy }} | ||
args: | ||
- {{ printf "--secure-port=%d" (int .Values.containerPort) }} | ||
@@ -100,7 +100,7 @@ | ||
securityContext: | ||
{{- toYaml . | nindent 12 }} | ||
{{- end }} | ||
- image: {{ include "metrics-server.addonResizer.image" . }} | ||
+ image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }} | ||
+ image: {{ template "system_default_registry" . }}{{ .Values.addonResizer.image.repository }}:{{ .Values.addonResizer.image.tag }} | ||
env: | ||
- name: MY_POD_NAME | ||
valueFrom: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
url: https://github.com/kubernetes-sigs/metrics-server/releases/download/metrics-server-helm-chart-3.12.0/metrics-server-3.12.0.tgz | ||
packageVersion: 00 | ||
packageVersion: 01 |