Skip to content

Commit

Permalink
refactor(greptimedb-standalone): rename secret and configmap (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 authored Nov 4, 2024
1 parent 3df4443 commit af2e017
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/greptimedb-standalone/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: greptimedb-standalone
description: A Helm chart for deploying standalone greptimedb
type: application
version: 0.1.30
version: 0.1.31
appVersion: 0.9.5
home: https://github.com/GreptimeTeam/greptimedb
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/greptimedb-standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Helm chart for deploying standalone greptimedb

![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)
![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)

## Source Code
- https://github.com/GreptimeTeam/greptimedb
Expand Down
2 changes: 1 addition & 1 deletion charts/greptimedb-standalone/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-config
name: {{ include "greptimedb-standalone.fullname" . }}-config
namespace: {{ .Release.Namespace }}
labels:
{{- include "greptimedb-standalone.labels" . | nindent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/greptimedb-standalone/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- if not .Values.objectStorage.credentials.existingSecretName }}
apiVersion: v1
metadata:
name: {{ .Release.Name }}-secret
name: {{ include "greptimedb-standalone.fullname" . }}-secret
namespace: {{ .Release.Namespace }}
kind: Secret
type: Opaque
Expand Down
2 changes: 1 addition & 1 deletion charts/greptimedb-standalone/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.serviceAccount.create -}}
{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
4 changes: 2 additions & 2 deletions charts/greptimedb-standalone/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
{{- if .Values.objectStorage.credentials.existingSecretName }}
name: {{ .Values.objectStorage.credentials.existingSecretName }}
{{- else }}
name: {{ .Release.Name }}-secret
name: {{ include "greptimedb-standalone.fullname" . }}-secret
{{- end }}
{{- end }}
{{- end }}
Expand Down Expand Up @@ -128,7 +128,7 @@ spec:
{{- if .Values.configToml }}
- name: config
configMap:
name: {{ .Release.Name }}-config
name: {{ include "greptimedb-standalone.fullname" . }}-config
{{- end }}
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit af2e017

Please sign in to comment.