Skip to content
Snippets Groups Projects
Commit 696c32fb authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4188 OZG-4555 rename pluto to vorgang-manager

parent 9529ef3f
No related branches found
No related tags found
No related merge requests found
......@@ -52,11 +52,11 @@ questions:
label: "Environment"
type: string
required: true
- variable: plutoName
- variable: vorgangManagerName
group: "Other"
type: string
default: "pluto"
label: "Name of the pluto deployment in the namespace"
default: "vorgang-manager"
label: "Name of the vorgang-manager deployment in the namespace"
- variable: sso.role_einheitlicher_ansprechpartner
group: "Other"
type: boolean
......
......@@ -50,8 +50,8 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- end -}}
{{- end -}}
{{- define "app.grpc_client_pluto_address" -}}
{{ printf "%s.%s:9090" ( coalesce .Values.plutoName "pluto" ) .Release.Namespace | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- define "app.grpc_client_vorgang_manager_address" -}}
{{ printf "%s.%s:9090" ( coalesce .Values.vorgangManagerName "vorgang-manager" ) .Release.Namespace | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end -}}
{{- define "app.grpc_client_user-manager_address" -}}
......
......@@ -68,7 +68,7 @@ spec:
- name: SERVICE_BINDING_ROOT
value: "/bindings"
- name: grpc_client_pluto_address
value: {{ include "app.grpc_client_pluto_address" . }}
value: {{ include "app.grpc_client_vorgang_manager_address" . }}
- name: grpc_client_user-manager_address
value: {{ include "app.grpc_client_user-manager_address" . }}
- name: spring_profiles_active
......
......@@ -22,7 +22,7 @@ spec:
- to:
- podSelector:
matchLabels:
component: pluto
component: vorgang-manager
ports:
- port: 9090
protocol: TCP
......
......@@ -60,7 +60,7 @@ usermanagerName: user-manager
# cpu: 50m
# memory: 500Mi
# plutoName: pluto # [default: pluto]
# vorgangManagerName: vorgang-manager # [default: vorgang-manager]
# sso: # Most values are set according to namespace name (<bundesland>-<name>-<level>) and are optional
# serverUrl: https://sso.<level>.by.ozg-cloud.de # [default: https://sso.dev.by.ozg-cloud.de, if level == "stage|prod" https://sso.by.ozg-cloud.de]
# apiPassword: # Required value
......
......@@ -39,7 +39,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: grpc_client_pluto_address
value: pluto.sh-helm-test:9090
value: vorgang-manager.sh-helm-test:9090
- contains:
path: spec.template.spec.containers[0].env
content:
......
......@@ -29,12 +29,12 @@ release:
templates:
- templates/deployment.yaml
tests:
- it: should set the pluto name
- it: should set the vorgang-manager name
set:
plutoName: my-test-pluto-name
vorgangManagerName: my-test-vorgang-manager-name
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: grpc_client_pluto_address
value: my-test-pluto-name.sh-helm-test:9090
value: my-test-vorgang-manager-name.sh-helm-test:9090
......@@ -62,7 +62,7 @@ tests:
- to:
- podSelector:
matchLabels:
component: pluto
component: vorgang-manager
ports:
- port: 9090
protocol: TCP
......
......@@ -25,7 +25,7 @@
cluster_env: ""
replicaCount: 5
plutoName: pluto
vorgangManagerName: vorgang-manager
usermanagerName: my-test-usermanager-name
ozgcloud:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment