Make j7s-os deployment patchable.
This commit is contained in:
parent
9ed09ed2f8
commit
34b3e0314f
|
|
@ -17,6 +17,6 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: j7s-os-app
|
- name: j7s-os-app
|
||||||
image: 192.168.1.128:8443/j7s-os-deploy:202301300131-b56f8fa
|
image: 192.168.1.128:8443/j7s-os-deploy:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
- service.yaml
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
bases:
|
||||||
- deployment.yaml
|
- ../j7s-os-deploy-base
|
||||||
- ingress.yaml
|
patches:
|
||||||
- service.yaml
|
- patch.yaml
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: j7s-os-app-deployment
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: j7s-os-app
|
||||||
|
image: 192.168.1.128:8443/j7s-os-deploy:latest
|
||||||
Loading…
Reference in New Issue