Skip to content

Commit

Permalink
Rename reverse proxy to web server
Browse files Browse the repository at this point in the history
Signed-off-by: Ammar Lakis <[email protected]>
  • Loading branch information
ammarlakis committed Oct 27, 2021
1 parent b1478b3 commit 7d52cee
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: reverse-proxy
name: web-server
namespace: default
labels:
app: reverse-proxy
app: web-server
spec:
selector:
matchLabels:
app: reverse-proxy
app: web-server
template:
metadata:
labels:
app: reverse-proxy
app: web-server
spec:
containers:
- name: nginx
Expand Down Expand Up @@ -41,15 +41,15 @@ spec:
volumes:
- name: config
configMap:
name: reverse-proxy-config
name: web-server-config
- name: static-files
configMap:
name: static-files
---
apiVersion: v1
kind: ConfigMap
metadata:
name: reverse-proxy-config
name: web-server-config
namespace: default
data:
default.conf: |
Expand All @@ -69,14 +69,14 @@ data:
apiVersion: v1
kind: Service
metadata:
name: reverse-proxy
name: web-server
namespace: default
labels:
app: reverse-proxy
app: web-server
spec:
type: NodePort
selector:
app: reverse-proxy
app: web-server
ports:
- name: http
port: 80

0 comments on commit 7d52cee

Please sign in to comment.