Create secret manually

This commit is contained in:
Joey Hafner 2023-03-31 06:50:29 -07:00
parent ac80e74292
commit 78d232de88
2 changed files with 16 additions and 8 deletions

View File

@ -1,9 +1,9 @@
secretGenerator: #secretGenerator:
- name: mysql-pass #- name: mysql-pass
literals: # literals:
- password=***REMOVED*** # - password=***REMOVED***
resources: #resources:
- Deployment.yaml # - Deployment.yaml
- Service.yaml # - Service.yaml
- PersistentVolumeClaim.yaml # - PersistentVolumeClaim.yaml

View File

@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Secret
metadata:
name: mysql-pass
type: Opaque
data:
password: ***REMOVED***