add fornax coordinator and worker k8s manifests
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
namePrefix: ""
|
||||
nameSuffix: ""
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: fornax-worker-WORKER_ID
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx253
|
||||
- op: replace
|
||||
path: /metadata/labels/app
|
||||
value: fornax-worker-tx253
|
||||
- op: replace
|
||||
path: /spec/selector/matchLabels/app
|
||||
value: fornax-worker-tx253
|
||||
- op: replace
|
||||
path: /spec/template/metadata/labels/app
|
||||
value: fornax-worker-tx253
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/env/3/value
|
||||
value: US-TX#253
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/env/2/valueFrom/secretKeyRef/name
|
||||
value: fornax-worker-tx253-secrets
|
||||
- op: replace
|
||||
path: /spec/template/spec/volumes/1/persistentVolumeClaim/claimName
|
||||
value: fornax-worker-tx253-config
|
||||
- target:
|
||||
kind: Service
|
||||
name: fornax-worker-WORKER_ID
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx253
|
||||
- op: replace
|
||||
path: /metadata/labels/app
|
||||
value: fornax-worker-tx253
|
||||
- op: replace
|
||||
path: /spec/selector/app
|
||||
value: fornax-worker-tx253
|
||||
- target:
|
||||
kind: PersistentVolumeClaim
|
||||
name: fornax-worker-WORKER_ID-config
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx253-config
|
||||
- target:
|
||||
kind: ExternalSecret
|
||||
name: fornax-worker-WORKER_ID-secrets
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx253-secrets
|
||||
- op: replace
|
||||
path: /spec/target/name
|
||||
value: fornax-worker-tx253-secrets
|
||||
- op: replace
|
||||
path: /spec/data/0/remoteRef/key
|
||||
value: secret/data/fornax/worker-tx253
|
||||
@@ -0,0 +1,64 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: fornax-worker-WORKER_ID
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx34
|
||||
- op: replace
|
||||
path: /metadata/labels/app
|
||||
value: fornax-worker-tx34
|
||||
- op: replace
|
||||
path: /spec/selector/matchLabels/app
|
||||
value: fornax-worker-tx34
|
||||
- op: replace
|
||||
path: /spec/template/metadata/labels/app
|
||||
value: fornax-worker-tx34
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/env/3/value
|
||||
value: US-TX#34
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/env/2/valueFrom/secretKeyRef/name
|
||||
value: fornax-worker-tx34-secrets
|
||||
- op: replace
|
||||
path: /spec/template/spec/volumes/1/persistentVolumeClaim/claimName
|
||||
value: fornax-worker-tx34-config
|
||||
- target:
|
||||
kind: Service
|
||||
name: fornax-worker-WORKER_ID
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx34
|
||||
- op: replace
|
||||
path: /metadata/labels/app
|
||||
value: fornax-worker-tx34
|
||||
- op: replace
|
||||
path: /spec/selector/app
|
||||
value: fornax-worker-tx34
|
||||
- target:
|
||||
kind: PersistentVolumeClaim
|
||||
name: fornax-worker-WORKER_ID-config
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx34-config
|
||||
- target:
|
||||
kind: ExternalSecret
|
||||
name: fornax-worker-WORKER_ID-secrets
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: fornax-worker-tx34-secrets
|
||||
- op: replace
|
||||
path: /spec/target/name
|
||||
value: fornax-worker-tx34-secrets
|
||||
- op: replace
|
||||
path: /spec/data/0/remoteRef/key
|
||||
value: secret/data/fornax/worker-tx34
|
||||
Reference in New Issue
Block a user