mirror of
https://github.com/suyiiyii/SIMS.git
synced 2026-05-10 18:59:59 +08:00
feat: add secret.yaml template for storing sensitive data
This commit adds a new file, secret.yaml, which is a template for storing sensitive data such as database credentials and JWT secret. The template includes placeholders for the values, which will be populated during deployment.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
spring.datasource.url: {{ .Values.spring.datasource.url | b64enc | quote }}
|
||||
spring.datasource.username: {{ .Values.spring.datasource.username | b64enc | quote }}
|
||||
spring.datasource.password: {{ .Values.spring.datasource.password | b64enc | quote }}
|
||||
spring.datasource.driver-class-name: {{ .Values.spring.datasource.driver-class-name | b64enc | quote }}
|
||||
jwt.secret: {{ .Values.jwt.secret | b64enc | quote }}
|
||||
|
||||
kind: Secret
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: secret
|
||||
Reference in New Issue
Block a user