update indentation
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- web/deployment.yaml
|
- web/deployment.yaml
|
||||||
- web/ingress.yaml
|
- web/ingress.yaml
|
||||||
- web/service.yaml
|
- web/service.yaml
|
||||||
- web/web-backend-tls.yaml
|
- web/web-backend-tls.yaml
|
||||||
|
|||||||
@@ -15,21 +15,21 @@ spec:
|
|||||||
app: web
|
app: web
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 443
|
- containerPort: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: https
|
name: https
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tls
|
- mountPath: /tls
|
||||||
name: web-backend-tls
|
name: web-backend-tls
|
||||||
volumes:
|
volumes:
|
||||||
- name: web-backend-tls
|
- name: web-backend-tls
|
||||||
secret:
|
secret:
|
||||||
secretName: web-backend-tls
|
secretName: web-backend-tls
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ metadata:
|
|||||||
name: web
|
name: web
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: https
|
- name: https
|
||||||
port: 443
|
port: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 443
|
targetPort: 443
|
||||||
selector:
|
selector:
|
||||||
app: web
|
app: web
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
|
||||||
patchesStrategicMerge:
|
patchesStrategicMerge:
|
||||||
- web/ingress.yaml
|
- web/ingress.yaml
|
||||||
- web/web-backend-tls.yaml
|
- web/web-backend-tls.yaml
|
||||||
- web/web-image.yaml
|
- web/web-image.yaml
|
||||||
|
|||||||
@@ -14,17 +14,17 @@ metadata:
|
|||||||
name: web
|
name: web
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: stage.d-b.ca
|
- host: stage.d-b.ca
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
service:
|
service:
|
||||||
name: web
|
name: web
|
||||||
port:
|
port:
|
||||||
name: https
|
name: https
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- stage.d-b.ca
|
- stage.d-b.ca
|
||||||
secretName: web-tls
|
secretName: web-tls
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ metadata:
|
|||||||
name: web-backend-tls
|
name: web-backend-tls
|
||||||
spec:
|
spec:
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- web
|
- web
|
||||||
- stage
|
- stage
|
||||||
- stage.d-b.ca
|
- stage.d-b.ca
|
||||||
|
|||||||
Reference in New Issue
Block a user