created a guestbook namespace and moved the app to the namespace
This commit is contained in:
parent
f133864206
commit
354b58cd6d
|
@ -2,6 +2,7 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: guestbook-ui
|
||||
namespace: guestbook
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
|
|||
kind: Ingress
|
||||
metadata:
|
||||
name: guestbook-ui-ingress
|
||||
namespace: default
|
||||
namespace: guestbook
|
||||
spec:
|
||||
rules:
|
||||
- host: guestbook-ui.corp.guardanet.net
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: guestbook
|
|
@ -2,6 +2,7 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: guestbook-ui
|
||||
namespace: guestbook
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
accounts.krzys: apiKey, login
|
||||
accounts.kwaberski: apiKey, login
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: argocd-cm
|
||||
app.kubernetes.io/part-of: argocd
|
||||
name: argocd-cm
|
||||
namespace: argocd
|
Loading…
Reference in New Issue