Skip to content

Commit af2e017

Browse files
authored
refactor(greptimedb-standalone): rename secret and configmap (#190)
1 parent 3df4443 commit af2e017

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

charts/greptimedb-standalone/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: greptimedb-standalone
33
description: A Helm chart for deploying standalone greptimedb
44
type: application
5-
version: 0.1.30
5+
version: 0.1.31
66
appVersion: 0.9.5
77
home: https://github.com/GreptimeTeam/greptimedb
88
sources:

charts/greptimedb-standalone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A Helm chart for deploying standalone greptimedb
44

5-
![Version: 0.1.30](https://img.shields.io/badge/Version-0.1.30-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.5](https://img.shields.io/badge/AppVersion-0.9.5-informational?style=flat-square)
5+
![Version: 0.1.31](https://img.shields.io/badge/Version-0.1.31-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.5](https://img.shields.io/badge/AppVersion-0.9.5-informational?style=flat-square)
66

77
## Source Code
88
- https://github.com/GreptimeTeam/greptimedb

charts/greptimedb-standalone/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v1
33
kind: ConfigMap
44
metadata:
5-
name: {{ .Release.Name }}-config
5+
name: {{ include "greptimedb-standalone.fullname" . }}-config
66
namespace: {{ .Release.Namespace }}
77
labels:
88
{{- include "greptimedb-standalone.labels" . | nindent 4 }}

charts/greptimedb-standalone/templates/secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{- if not .Values.objectStorage.credentials.existingSecretName }}
44
apiVersion: v1
55
metadata:
6-
name: {{ .Release.Name }}-secret
6+
name: {{ include "greptimedb-standalone.fullname" . }}-secret
77
namespace: {{ .Release.Namespace }}
88
kind: Secret
99
type: Opaque

charts/greptimedb-standalone/templates/serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.serviceAccount.create -}}
1+
{{- if .Values.serviceAccount.create }}
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:

charts/greptimedb-standalone/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ spec:
100100
{{- if .Values.objectStorage.credentials.existingSecretName }}
101101
name: {{ .Values.objectStorage.credentials.existingSecretName }}
102102
{{- else }}
103-
name: {{ .Release.Name }}-secret
103+
name: {{ include "greptimedb-standalone.fullname" . }}-secret
104104
{{- end }}
105105
{{- end }}
106106
{{- end }}
@@ -128,7 +128,7 @@ spec:
128128
{{- if .Values.configToml }}
129129
- name: config
130130
configMap:
131-
name: {{ .Release.Name }}-config
131+
name: {{ include "greptimedb-standalone.fullname" . }}-config
132132
{{- end }}
133133
{{- with .Values.extraVolumes }}
134134
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)