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:
- name: mysql-pass
literals:
- password=***REMOVED***
#secretGenerator:
#- name: mysql-pass
# literals:
# - password=***REMOVED***
resources:
- Deployment.yaml
- Service.yaml
- PersistentVolumeClaim.yaml
#resources:
# - Deployment.yaml
# - Service.yaml
# - PersistentVolumeClaim.yaml

View File

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