diff --git a/helm/rustfs/Chart.yaml b/helm/rustfs/Chart.yaml index 9f1b44f8..fbd421d2 100644 --- a/helm/rustfs/Chart.yaml +++ b/helm/rustfs/Chart.yaml @@ -1,24 +1,13 @@ apiVersion: v2 name: rustfs description: RustFS helm chart to deploy RustFS on kubernetes cluster. - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) version: 0.0.77 - -# This is the version number of the application being deployed. This version number should be -# 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.0.0-alpha.77" +home: https://rustfs.com +icon: https://media.sys.truenas.net/apps/rustfs/icons/icon.svg +maintainers: +- name: RustFS, Inc. + url: https://github.com/rustfs/rustfs/tree/main/helm/rustfs +sources: +- https://github.com/rustfs/rustfs diff --git a/helm/rustfs/templates/deployment.yaml b/helm/rustfs/templates/deployment.yaml index 64bd0826..7a84c588 100644 --- a/helm/rustfs/templates/deployment.yaml +++ b/helm/rustfs/templates/deployment.yaml @@ -74,7 +74,7 @@ spec: mountPath: /logs containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" command: ["/usr/bin/rustfs"] imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if .Values.containerSecurityContext }} diff --git a/helm/rustfs/templates/statefulset.yaml b/helm/rustfs/templates/statefulset.yaml index 1301322e..e062474c 100644 --- a/helm/rustfs/templates/statefulset.yaml +++ b/helm/rustfs/templates/statefulset.yaml @@ -102,7 +102,7 @@ spec: mountPath: {{ $logDir }} containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" command: ["/usr/bin/rustfs"] imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if .Values.containerSecurityContext }} diff --git a/helm/rustfs/values.yaml b/helm/rustfs/values.yaml index 5159b478..ff550abe 100644 --- a/helm/rustfs/values.yaml +++ b/helm/rustfs/values.yaml @@ -11,7 +11,7 @@ image: # This sets the pull policy for images. pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "1.0.0-alpha.73" + tag: "latest" # This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ imagePullSecrets: [] @@ -187,6 +187,4 @@ initStep: runAsUser: 0 runAsGroup: 0 - - extraManifests: []