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