Created
August 24, 2021 10:07
-
-
Save bharathirajatut/8f16ee6398d2d94e059e9f70c591733c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: mysql | |
spec: | |
selector: | |
matchLabels: | |
app: mysql | |
template: | |
metadata: | |
labels: | |
app: mysql | |
spec: | |
containers: | |
- image: mysql:5.6 | |
name: mysql | |
env: | |
- name: MYSQL_ROOT_PASSWORD | |
valueFrom: | |
secretKeyRef: | |
name: mysql-secret | |
key: password | |
ports: | |
- containerPort: 3306 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment