From 0277879e870b21d059dad227b38221a4e6faebca Mon Sep 17 00:00:00 2001 From: Yue Yang Date: Fri, 3 Nov 2023 16:51:36 +0800 Subject: [PATCH] chore: remove unused values --- charts/hstreamdb/templates/hstreamdb.yaml | 6 ++--- charts/hstreamdb/values.yaml | 28 ----------------------- 2 files changed, 3 insertions(+), 31 deletions(-) diff --git a/charts/hstreamdb/templates/hstreamdb.yaml b/charts/hstreamdb/templates/hstreamdb.yaml index ece1326..e833892 100644 --- a/charts/hstreamdb/templates/hstreamdb.yaml +++ b/charts/hstreamdb/templates/hstreamdb.yaml @@ -3,7 +3,7 @@ kind: HStreamDB metadata: name: {{ include "hstreamdb.fullname" . }} namespace: {{ .Release.Namespace | quote }} - labels: {{- include "hstreamdb.labels" . | nindent 4 }} + labels: {{ include "hstreamdb.labels" . | nindent 4 }} spec: hserver: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" @@ -17,7 +17,7 @@ spec: replicas: {{ .Values.hstore.replicaCount }} container: name: {{ .Values.hstore.name }} - volumeClaimTemplate: {{- include "hstreamdb.hstore.volumeClaimTemplate" . | indent 6 }} + volumeClaimTemplate: {{ include "hstreamdb.hstore.volumeClaimTemplate" . | indent 6 }} adminServer: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} @@ -30,7 +30,7 @@ spec: replicas: {{ .Values.hmeta.replicaCount }} container: name: {{ .Values.hmeta.name }} - volumeClaimTemplate: {{- include "hstreamdb.hmeta.volumeClaimTemplate" . | indent 6 }} + volumeClaimTemplate: {{ include "hstreamdb.hmeta.volumeClaimTemplate" . | indent 6 }} {{- if .Values.console.enabled }} console: image: hstreamdb/hstream-console diff --git a/charts/hstreamdb/values.yaml b/charts/hstreamdb/values.yaml index 1a6bfdc..835cd93 100644 --- a/charts/hstreamdb/values.yaml +++ b/charts/hstreamdb/values.yaml @@ -38,27 +38,6 @@ securityContext: # runAsNonRoot: true # runAsUser: 1000 -service: - type: ClusterIP - port: 80 - -ingress: - enabled: false - className: "" - annotations: - {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: - - path: / - pathType: ImplementationSpecific - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - resources: {} # We usually recommend not to specify default resources and to leave this as a conscious @@ -72,13 +51,6 @@ resources: # cpu: 100m # memory: 128Mi -autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - # Additional volumes on the output Deployment definition. volumes: [] # - name: foo