Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
00a2a841
Commit
00a2a841
authored
May 09, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added configmap
parent
16e1b30b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
1 deletion
+44
-1
nginx-configmap.yaml
k8s/CONF/nginx-configmap.yaml
+1
-1
nginx-deployment.yaml
k8s/CONF/nginx-deployment.yaml
+43
-0
nginx-service.yaml
k8s/CONF/nginx-service.yaml
+0
-0
nginx.conf
k8s/CONF/nginx.conf
+0
-0
No files found.
nginx-configmap.yaml
→
k8s/CONF/
nginx-configmap.yaml
View file @
00a2a841
apiVersion
:
v1
apiVersion
:
v1
kind
:
ConfigMap
kind
:
ConfigMap
metadata
:
metadata
:
name
:
nginx-conf
ig
name
:
nginx-conf
data
:
data
:
nginx.conf
:
|
nginx.conf
:
|
worker_processes auto;
worker_processes auto;
...
...
nginx-deployment.yaml
→
k8s/CONF/
nginx-deployment.yaml
View file @
00a2a841
...
@@ -25,27 +25,19 @@ spec:
...
@@ -25,27 +25,19 @@ spec:
-
containerPort
:
80
-
containerPort
:
80
-
containerPort
:
443
-
containerPort
:
443
resources
:
{}
resources
:
{}
volumeMounts
:
volumeMounts
:
-
mountPath
:
/etc/nginx/nginx.conf
-
mountPath
:
/etc/nginx/
name
:
nginx-claim0
name
:
nginx-conf
-
mountPath
:
/etc/nginx/cert/cert.pem
name
:
nginx-claim1
-
mountPath
:
/etc/nginx/cert/privkey.pem
name
:
nginx-claim2
-
mountPath
:
/etc/nginx/htpasswd
name
:
nginx-claim3
restartPolicy
:
Always
restartPolicy
:
Always
volumes
:
volumes
:
-
name
:
nginx-claim0
-
name
:
nginx-conf
persistentVolumeClaim
:
configMap
:
claimName
:
nginx-claim0
name
:
nginx-conf
-
name
:
nginx-claim1
items
:
persistentVolumeClaim
:
-
key
:
nginx.conf
claimName
:
nginx-claim1
path
:
nginx.conf
-
name
:
nginx-claim2
-
key
:
cert.pem
persistentVolumeClaim
:
path
:
cert.pem
claimName
:
nginx-claim2
-
key
:
privkey.pem
-
name
:
nginx-claim3
path
:
privkey.pem
persistentVolumeClaim
:
claimName
:
nginx-claim3
status
:
{}
status
:
{}
nginx-service.yaml
→
k8s/CONF/
nginx-service.yaml
View file @
00a2a841
File moved
nginx.conf
→
k8s/CONF/
nginx.conf
View file @
00a2a841
File moved
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