From 6858de3e0fff22d39d5561c1f42052a65e2b09ac Mon Sep 17 00:00:00 2001 From: mytting <420727434@qq.com> Date: Thu, 20 Jan 2022 11:05:25 +0800 Subject: [PATCH] update helm chart --- config/charts/endpoints-operator/Chart.yaml | 2 +- config/charts/endpoints-operator/templates/deployment.yaml | 4 ++-- config/charts/endpoints-operator/values.yaml | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/charts/endpoints-operator/Chart.yaml b/config/charts/endpoints-operator/Chart.yaml index 2e0cbab..6ca60bd 100644 --- a/config/charts/endpoints-operator/Chart.yaml +++ b/config/charts/endpoints-operator/Chart.yaml @@ -35,4 +35,4 @@ version: 0.1.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.16.0" +appVersion: "0.1.0" diff --git a/config/charts/endpoints-operator/templates/deployment.yaml b/config/charts/endpoints-operator/templates/deployment.yaml index c017394..f7510a6 100644 --- a/config/charts/endpoints-operator/templates/deployment.yaml +++ b/config/charts/endpoints-operator/templates/deployment.yaml @@ -40,10 +40,10 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - - name: {{ .Chart.Name }} + - name: endpoints-operator securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ .Values.image.repository }}/{{ .Values.image.image }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} args: - --v diff --git a/config/charts/endpoints-operator/values.yaml b/config/charts/endpoints-operator/values.yaml index e1ff516..d43b386 100644 --- a/config/charts/endpoints-operator/values.yaml +++ b/config/charts/endpoints-operator/values.yaml @@ -19,7 +19,8 @@ replicaCount: 2 image: - repository: ghcr.io/sealyun/endpoints-operator + repository: ghcr.io/sealyun + image: endpoints-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "latest"