diff --git a/deploy/charts/neuron/Chart.yaml b/deploy/charts/neuron/Chart.yaml index 939fa39a..d0be2cbb 100644 --- a/deploy/charts/neuron/Chart.yaml +++ b/deploy/charts/neuron/Chart.yaml @@ -15,10 +15,10 @@ 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: 1.0.0 +version: 1.0.1 # 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: "2.0.1" +appVersion: 2.0.1 diff --git a/deploy/charts/neuron/README.md b/deploy/charts/neuron/README.md index 06ce7de4..7691360f 100644 --- a/deploy/charts/neuron/README.md +++ b/deploy/charts/neuron/README.md @@ -63,7 +63,4 @@ helm uninstall my-neuron | service.ports.web.name | string | `"web"` | Neuron Dashboard port name | | service.ports.web.port | int | `7000` | Neuron Dashboard port | | service.type | string | `"ClusterIP"` | | -| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | -| serviceAccount.create | bool | `true` | Specifies whether a service account should be created | -| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | tolerations | list | `[]` | | \ No newline at end of file diff --git a/deploy/charts/neuron/templates/_helpers.tpl b/deploy/charts/neuron/templates/_helpers.tpl index 05c35f74..70cd56f0 100644 --- a/deploy/charts/neuron/templates/_helpers.tpl +++ b/deploy/charts/neuron/templates/_helpers.tpl @@ -50,16 +50,6 @@ app.kubernetes.io/name: {{ include "neuron.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} {{- end }} -{{/* -Create the name of the service account to use -*/}} -{{- define "neuron.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "neuron.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} {{/* Get the TLS secret. diff --git a/deploy/charts/neuron/templates/deployment.yaml b/deploy/charts/neuron/templates/deployment.yaml index 3ae21897..420f1ad4 100644 --- a/deploy/charts/neuron/templates/deployment.yaml +++ b/deploy/charts/neuron/templates/deployment.yaml @@ -15,7 +15,6 @@ spec: labels: {{- include "neuron.selectorLabels" . | nindent 8 }} spec: - serviceAccountName: {{ include "neuron.serviceAccountName" . }} volumes: - name: neuron-persistence {{- if .Values.persistence.enabled }} diff --git a/deploy/charts/neuron/templates/serviceaccount.yaml b/deploy/charts/neuron/templates/serviceaccount.yaml deleted file mode 100644 index 4786c25a..00000000 --- a/deploy/charts/neuron/templates/serviceaccount.yaml +++ /dev/null @@ -1,12 +0,0 @@ -{{- if .Values.serviceAccount.create -}} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "neuron.serviceAccountName" . }} - labels: - {{- include "neuron.labels" . | nindent 4 }} - {{- with .Values.serviceAccount.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -{{- end }} diff --git a/deploy/charts/neuron/values.yaml b/deploy/charts/neuron/values.yaml index 7f127d1e..e5a47471 100644 --- a/deploy/charts/neuron/values.yaml +++ b/deploy/charts/neuron/values.yaml @@ -13,15 +13,6 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" -serviceAccount: - # -- Specifies whether a service account should be created - create: true - # -- Annotations to add to the service account - annotations: {} - # -- The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - podAnnotations: {} # @ignored