testing cicd
This commit is contained in:
50
k8s/overlays/dev/kustomization.yaml
Normal file
50
k8s/overlays/dev/kustomization.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: flxn-dev
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ../../base
|
||||
- configmap.yaml
|
||||
- ingress.yaml
|
||||
|
||||
images:
|
||||
- name: git.yohler.net/kyle/flxn-app
|
||||
newTag: dev
|
||||
- name: git.yohler.net/kyle/flxn-pocketbase
|
||||
newTag: latest
|
||||
|
||||
commonLabels:
|
||||
environment: dev
|
||||
|
||||
patches:
|
||||
- patch: |-
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/resources/requests/memory
|
||||
value: "768Mi"
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/resources/limits/memory
|
||||
value: "1536Mi"
|
||||
target:
|
||||
kind: Deployment
|
||||
name: flxn-app
|
||||
|
||||
- patch: |-
|
||||
- op: replace
|
||||
path: /spec/type
|
||||
value: NodePort
|
||||
- op: add
|
||||
path: /spec/ports/0/nodePort
|
||||
value: 30083
|
||||
target:
|
||||
kind: Service
|
||||
name: flxn-app
|
||||
|
||||
- patch: |-
|
||||
- op: replace
|
||||
path: /spec/ports/0/nodePort
|
||||
value: 30096
|
||||
target:
|
||||
kind: Service
|
||||
name: flxn-pocketbase
|
||||
Reference in New Issue
Block a user