Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
3
3Tire-TODO-LIST-APP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Wara Bin Wafa
3Tire-TODO-LIST-APP
Commits
4c10c0ae
Commit
4c10c0ae
authored
Mar 08, 2022
by
Muhammad.Wara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added secret.yaml file
parent
6437da08
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
Dockerfile
database/Dockerfile
+2
-0
db-pod.yaml
k8s/db-pod.yaml
+6
-0
secret-db.yaml
k8s/secret-db.yaml
+7
-0
No files found.
database/Dockerfile
0 → 100644
View file @
4c10c0ae
FROM
mysql:5.7
ENV
MYSQL_ROOT_PASSWORD 1234
k8s/db-pod.yaml
View file @
4c10c0ae
...
...
@@ -19,6 +19,12 @@ spec:
image
:
mysql:5.7
ports
:
-
containerPort
:
3306
env
:
-
name
:
MYSQL_ROOT_PASSWORD
valueFrom
:
secretKeyRef
:
name
:
mysql-secret
key
:
password
resources
:
limits
:
cpu
:
250m
...
...
k8s/secret-db.yaml
0 → 100644
View file @
4c10c0ae
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
mysql-secret
type
:
kubernetes.io/basic-auth
stringData
:
password
:
MTIzNAo=
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment