Remove namespace vom k8s templates
This commit is contained in:
parent
46267a135b
commit
a839fb0bfc
@ -4,7 +4,6 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: recipes
|
app: recipes
|
||||||
name: recipes-nginx-config
|
name: recipes-nginx-config
|
||||||
namespace: default
|
|
||||||
data:
|
data:
|
||||||
nginx-config: |-
|
nginx-config: |-
|
||||||
events {
|
events {
|
||||||
|
@ -2,7 +2,6 @@ kind: Secret
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: recipes
|
name: recipes
|
||||||
namespace: default
|
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
# echo -n 'db-password' | base64
|
# echo -n 'db-password' | base64
|
||||||
|
@ -2,4 +2,3 @@ apiVersion: v1
|
|||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: recipes
|
name: recipes
|
||||||
namespace: default
|
|
||||||
|
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: recipes-media
|
name: recipes-media
|
||||||
namespace: default
|
|
||||||
labels:
|
labels:
|
||||||
app: recipes
|
app: recipes
|
||||||
spec:
|
spec:
|
||||||
@ -16,7 +15,6 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: recipes-static
|
name: recipes-static
|
||||||
namespace: default
|
|
||||||
labels:
|
labels:
|
||||||
app: recipes
|
app: recipes
|
||||||
spec:
|
spec:
|
||||||
|
@ -5,7 +5,6 @@ metadata:
|
|||||||
app: recipes
|
app: recipes
|
||||||
tier: database
|
tier: database
|
||||||
name: recipes-postgresql
|
name: recipes-postgresql
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@ -22,7 +21,6 @@ spec:
|
|||||||
app: recipes
|
app: recipes
|
||||||
tier: database
|
tier: database
|
||||||
name: recipes-postgresql
|
name: recipes-postgresql
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: recipes-db
|
- name: recipes-db
|
||||||
@ -124,7 +122,6 @@ spec:
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: data
|
name: data
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
@ -5,7 +5,6 @@ metadata:
|
|||||||
app: recipes
|
app: recipes
|
||||||
tier: database
|
tier: database
|
||||||
name: recipes-postgresql
|
name: recipes-postgresql
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: recipes
|
name: recipes
|
||||||
namespace: default
|
|
||||||
labels:
|
labels:
|
||||||
app: recipes
|
app: recipes
|
||||||
environment: production
|
environment: production
|
||||||
|
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: recipes
|
name: recipes
|
||||||
namespace: default
|
|
||||||
labels:
|
labels:
|
||||||
app: recipes
|
app: recipes
|
||||||
tier: frontend
|
tier: frontend
|
||||||
|
@ -5,7 +5,6 @@ metadata:
|
|||||||
#cert-manager.io/cluster-issuer: letsencrypt-prod
|
#cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
#kubernetes.io/ingress.class: nginx
|
#kubernetes.io/ingress.class: nginx
|
||||||
name: recipes
|
name: recipes
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: recipes.local
|
- host: recipes.local
|
||||||
|
Loading…
Reference in New Issue
Block a user