Skip to content

Commit

Permalink
fix: recover the deleted file 'secret.yaml' (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 authored Jan 29, 2024
1 parent fa63576 commit a7ccdef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/greptimedb-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: greptimedb-cluster
description: A Helm chart for deploying GreptimeDB cluster in Kubernetes
type: application
version: 0.1.14
version: 0.1.15
appVersion: 0.6.0
maintainers:
- name: daviderli614
Expand Down
2 changes: 1 addition & 1 deletion charts/greptimedb-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Helm chart for deploying GreptimeDB cluster in Kubernetes

![Version: 0.1.14](https://img.shields.io/badge/Version-0.1.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.0](https://img.shields.io/badge/AppVersion-0.6.0-informational?style=flat-square)
![Version: 0.1.15](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.0](https://img.shields.io/badge/AppVersion-0.6.0-informational?style=flat-square)

## Source Code

Expand Down
13 changes: 13 additions & 0 deletions charts/greptimedb-cluster/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{- if .Values.objectStorage }}
{{- if .Values.objectStorage.credentials }}
apiVersion: v1
metadata:
name: {{ .Values.objectStorage.credentials.secretName }}
namespace: {{ .Release.Namespace }}
kind: Secret
type: Opaque
stringData:
access-key-id: {{ .Values.objectStorage.credentials.accessKeyId }}
secret-access-key: {{ .Values.objectStorage.credentials.secretAccessKey }}
{{- end }}
{{- end }}

0 comments on commit a7ccdef

Please sign in to comment.