++ use nexus sarex images in nn-dev
This commit is contained in:
parent
218a59a539
commit
0818b65fb6
@ -3,3 +3,5 @@ kind: Kustomization
|
||||
resources:
|
||||
- ./helm-repositories.yaml
|
||||
- ../../../infrastructure/vault/contour-template
|
||||
patches:
|
||||
- path: nexus-images-vault.yaml
|
||||
|
||||
51
clusters/nn-dev/00-vault/nexus-images-vault.yaml
Normal file
51
clusters/nn-dev/00-vault/nexus-images-vault.yaml
Normal file
@ -0,0 +1,51 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: vault
|
||||
namespace: vault
|
||||
spec:
|
||||
values:
|
||||
backup:
|
||||
image:
|
||||
repository: nexus.npr.nornick.ru/sarex/contour/minio/mc
|
||||
injector:
|
||||
image:
|
||||
repository: nexus.npr.nornick.ru/sarex/vault/vault-k8s
|
||||
agentImage:
|
||||
repository: nexus.npr.nornick.ru/sarex/vault/vault
|
||||
server:
|
||||
image:
|
||||
repository: nexus.npr.nornick.ru/sarex/vault/vault
|
||||
extraContainers:
|
||||
- command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "while true; do\n if vault status >/dev/null 2>&1; then\n :\n else\n\
|
||||
\ rc=$?\n if [ \"$rc\" -eq 2 ]; then\n if [ -s /vault/unseal-keys/key1\
|
||||
\ ] && [ -s /vault/unseal-keys/key2 ] && [ -s /vault/unseal-keys/key3 ];\
|
||||
\ then\n for k in key1 key2 key3; do\n vault operator unseal\
|
||||
\ \"$(cat /vault/unseal-keys/$k)\" >/dev/null 2>&1 || echo \"unseal call\
|
||||
\ failed\"\n done\n if vault status >/dev/null 2>&1; then\
|
||||
\ echo \"unsealed\"; else echo \"still sealed\"; fi\n else\n \
|
||||
\ echo \"sealed, keys not mounted\"\n fi\n fi\n fi\n sleep 10\n\
|
||||
done\n"
|
||||
env:
|
||||
- name: VAULT_ADDR
|
||||
value: http://127.0.0.1:8200
|
||||
image: nexus.npr.nornick.ru/sarex/vault/vault:1.21.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: unsealer
|
||||
resources:
|
||||
limits:
|
||||
memory: 64Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 16Mi
|
||||
volumeMounts:
|
||||
- mountPath: /vault/unseal-keys
|
||||
name: unseal-keys
|
||||
readOnly: true
|
||||
csi:
|
||||
agent:
|
||||
image:
|
||||
repository: nexus.npr.nornick.ru/sarex/vault/vault
|
||||
@ -24,3 +24,6 @@ patches:
|
||||
- op: add
|
||||
path: /spec/values/_internal_defaults_do_not_set/service/loadBalancerIP
|
||||
value: "${BALANCER_IP:=}"
|
||||
patches:
|
||||
- path: nexus-images-cert-manager.yaml
|
||||
- path: nexus-images-istiod.yaml
|
||||
|
||||
19
clusters/nn-dev/10-mesh/nexus-images-cert-manager.yaml
Normal file
19
clusters/nn-dev/10-mesh/nexus-images-cert-manager.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cert-manager
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
values:
|
||||
controller:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru/sarex/cert-manager
|
||||
acmesolver:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru/sarex/cert-manager
|
||||
webhook:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru/sarex/cert-manager
|
||||
cainjector:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru/sarex/cert-manager
|
||||
9
clusters/nn-dev/10-mesh/nexus-images-istiod.yaml
Normal file
9
clusters/nn-dev/10-mesh/nexus-images-istiod.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: istiod
|
||||
namespace: istio-system
|
||||
spec:
|
||||
values:
|
||||
global:
|
||||
hub: nexus.npr.nornick.ru/sarex/contour/istio
|
||||
@ -4,3 +4,7 @@ resources:
|
||||
- ../../../infrastructure/postgresql/contour-template
|
||||
- ../../../infrastructure/kafka/contour-template
|
||||
- ../../../infrastructure/rabbitmq/contour-template
|
||||
patches:
|
||||
- path: nexus-images-kafka.yaml
|
||||
- path: nexus-images-postgresql.yaml
|
||||
- path: nexus-images-rabbitmq.yaml
|
||||
|
||||
24
clusters/nn-dev/20-data/nexus-images-kafka.yaml
Normal file
24
clusters/nn-dev/20-data/nexus-images-kafka.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: kafka
|
||||
namespace: kafka
|
||||
spec:
|
||||
values:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/kafka-nn/kafka
|
||||
defaultInitContainers:
|
||||
volumePermissions:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/kafka-nn/os-shell
|
||||
autoDiscovery:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/kafka-nn/kubectl
|
||||
metrics:
|
||||
jmx:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/kafka-nn/jmx-exporter
|
||||
17
clusters/nn-dev/20-data/nexus-images-postgresql.yaml
Normal file
17
clusters/nn-dev/20-data/nexus-images-postgresql.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: postgresql
|
||||
namespace: postgresql
|
||||
spec:
|
||||
values:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru/sarex
|
||||
volumePermissions:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/postgresql/os-shell
|
||||
metrics:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/postgresql/postgres-exporter
|
||||
14
clusters/nn-dev/20-data/nexus-images-rabbitmq.yaml
Normal file
14
clusters/nn-dev/20-data/nexus-images-rabbitmq.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: rabbitmq
|
||||
namespace: rabbitmq
|
||||
spec:
|
||||
values:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/rabbitmq/rabbitmq
|
||||
volumePermissions:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/rabbitmq/os-shell
|
||||
@ -3,3 +3,18 @@ kind: Kustomization
|
||||
resources:
|
||||
- ../../../infrastructure/zitadel/contour-template
|
||||
- ../../../infrastructure/camunda/contour-template
|
||||
patches:
|
||||
- path: nexus-images-camunda.yaml
|
||||
- path: nexus-images-zitadel.yaml
|
||||
- target:
|
||||
kind: HelmRelease
|
||||
name: camunda
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/postRenderers/-
|
||||
value:
|
||||
kustomize:
|
||||
images:
|
||||
- name: busybox
|
||||
newName: nexus.npr.nornick.ru/sarex/kubespray/library/busybox
|
||||
newTag: "1.37.0"
|
||||
|
||||
85
clusters/nn-dev/30-platform/nexus-images-camunda.yaml
Normal file
85
clusters/nn-dev/30-platform/nexus-images-camunda.yaml
Normal file
@ -0,0 +1,85 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: camunda
|
||||
namespace: camunda
|
||||
spec:
|
||||
values:
|
||||
global:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
console:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/console
|
||||
zeebe:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/zeebe
|
||||
zeebeGateway:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/zeebe
|
||||
operate:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/operate
|
||||
tasklist:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/tasklist
|
||||
optimize:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/optimize
|
||||
executionIdentity:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/camunda
|
||||
identity:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/identity
|
||||
identityPostgresql:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/postgresql
|
||||
identityKeycloak:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/keycloak
|
||||
postgresql:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/postgresql
|
||||
webModeler:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
restapi:
|
||||
image:
|
||||
repository: sarex/contour/camunda/web-modeler-restapi
|
||||
webapp:
|
||||
image:
|
||||
repository: sarex/contour/camunda/web-modeler-webapp
|
||||
websockets:
|
||||
image:
|
||||
repository: sarex/contour/camunda/web-modeler-websockets
|
||||
postgresql:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/postgresql
|
||||
connectors:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/connectors-bundle
|
||||
elasticsearch:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/elasticsearch
|
||||
sysctlImage:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/os-shell
|
||||
metrics:
|
||||
image:
|
||||
registry: nexus.npr.nornick.ru
|
||||
repository: sarex/contour/camunda/elasticsearch-exporter
|
||||
16
clusters/nn-dev/30-platform/nexus-images-zitadel.yaml
Normal file
16
clusters/nn-dev/30-platform/nexus-images-zitadel.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: zitadel
|
||||
namespace: zitadel
|
||||
spec:
|
||||
values:
|
||||
login:
|
||||
image:
|
||||
repository: nexus.npr.nornick.ru/sarex/contour/zitadel/zitadel-login
|
||||
image:
|
||||
repository: nexus.npr.nornick.ru/sarex/contour/zitadel/zitadel
|
||||
setupJob:
|
||||
machinekeyWriter:
|
||||
image:
|
||||
repository: nexus.npr.nornick.ru/sarex/contour/zitadel/kubectl
|
||||
@ -11,3 +11,12 @@ patches:
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/-
|
||||
value: --feature-gates=CancelHealthCheckOnNewRevision=true
|
||||
images:
|
||||
- name: cr.yandex/crp3ccidau046kdj8g9q/fluxcd/source-controller
|
||||
newName: nexus.npr.nornick.ru/sarex/fluxcd/source-controller
|
||||
- name: cr.yandex/crp3ccidau046kdj8g9q/fluxcd/kustomize-controller
|
||||
newName: nexus.npr.nornick.ru/sarex/fluxcd/kustomize-controller
|
||||
- name: cr.yandex/crp3ccidau046kdj8g9q/fluxcd/helm-controller
|
||||
newName: nexus.npr.nornick.ru/sarex/fluxcd/helm-controller
|
||||
- name: cr.yandex/crp3ccidau046kdj8g9q/fluxcd/notification-controller
|
||||
newName: nexus.npr.nornick.ru/sarex/fluxcd/notification-controller
|
||||
|
||||
Loading…
Reference in New Issue
Block a user