Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • CommandRepositoryRefactoring
  • OZG-4097-OSI2-Anbindung
  • OZG-4878-Integrationstest-der-OSIv2-Schnittstelle
  • OZG-4906
  • OZG-5580-Configure-To-Connect-To-Zufi
  • OZG-5580-torsten-test-20240902
  • OZG-6162-ArchiveManager-an-Alfa-anbinden
  • OZG-6868-email-only-when-assigned-to-another-user
  • OZG-7426-Dateitransfer-Eingang
  • OZG-7573-forward-command-completed
  • OZG-7689_use-new-pm
  • OZG-7846_test_for_db_query
  • OZG-7856_schadcode_scanner
  • OZG-8146-Konfiguration-Eingangsbestätigung
  • develop
  • fix-dependencies
  • fix-keycloak-metadata
  • main
  • ozg-3938-disable-grpc-tls
  • release
  • 0.10.0
  • 0.12.0
  • 0.13.0
  • 0.14.0
  • 0.16.0
  • 0.16.1
  • 0.17.0
  • 0.18.0
  • 0.18.1
  • 0.19.0
  • 0.2.0
  • 0.20.0
  • 0.21.0
  • 0.21.1
  • 0.22.0
  • 0.23.0
  • 0.23.1
  • 0.24.0
  • 0.25.0
  • 0.25.1
  • 0.26.0
  • 0.27.0
  • 0.28.0
  • 0.29.0
  • 0.3.0
  • 0.31.0
  • 0.4.0
  • 0.5.0
  • 0.6.0
  • 0.8.0
  • 0.9.0
  • 1.10.0
  • 1.11.0
  • 1.12.2
  • 1.12.3
  • 1.13.0
  • 1.14.0
  • 1.15.0
  • 1.16.0
  • 1.16.2
  • 1.17.0
  • 1.17.1
  • 1.2.0
  • 1.3.0
  • 1.3.1
  • 1.4.0
  • 1.5.0
  • 1.6.0
  • 1.7.0
  • 1.8.0
  • 1.8.1
  • 1.8.2
  • 1.9.0
  • 2.0.0
  • 2.1.0
  • 2.10.0
  • 2.10.1
  • 2.11.0
  • 2.11.1
  • 2.12.0
  • 2.13.0
  • 2.14.0
  • 2.14.1
  • 2.15.0
  • 2.16.0
  • 2.16.1
  • 2.17.0
  • 2.17.1
  • 2.18.0
  • 2.19.0
  • 2.2.0
  • 2.2.1
  • 2.20.0
  • 2.21.0
  • 2.22.0
  • 2.23.0
  • 2.24.0
  • 2.24.1
  • 2.24.2
  • 2.25.0
  • 2.26.0
  • 2.3.0
  • 2.4.0
  • 2.4.1
  • 2.5.0
  • 2.6.0
  • 2.7.0
  • 2.8.0
  • 2.9.0
  • 2.9.1
  • bescheid-manager-1.18.0
  • help
  • list
  • opensource-1
  • push
  • v0.6.0
  • v0.7.0
117 results

Target

Select target project
  • ozg-cloud/app/vorgang-manager
1 result
Select Git revision
  • CommandRepositoryRefactoring
  • OZG-4097-OSI2-Anbindung
  • OZG-4878-Integrationstest-der-OSIv2-Schnittstelle
  • OZG-4906
  • OZG-5580-Configure-To-Connect-To-Zufi
  • OZG-5580-torsten-test-20240902
  • OZG-6162-ArchiveManager-an-Alfa-anbinden
  • OZG-6868-email-only-when-assigned-to-another-user
  • OZG-7426-Dateitransfer-Eingang
  • OZG-7573-forward-command-completed
  • OZG-7689_use-new-pm
  • OZG-7846_test_for_db_query
  • OZG-7856_schadcode_scanner
  • OZG-8146-Konfiguration-Eingangsbestätigung
  • develop
  • fix-dependencies
  • fix-keycloak-metadata
  • main
  • ozg-3938-disable-grpc-tls
  • release
  • 0.10.0
  • 0.12.0
  • 0.13.0
  • 0.14.0
  • 0.16.0
  • 0.16.1
  • 0.17.0
  • 0.18.0
  • 0.18.1
  • 0.19.0
  • 0.2.0
  • 0.20.0
  • 0.21.0
  • 0.21.1
  • 0.22.0
  • 0.23.0
  • 0.23.1
  • 0.24.0
  • 0.25.0
  • 0.25.1
  • 0.26.0
  • 0.27.0
  • 0.28.0
  • 0.29.0
  • 0.3.0
  • 0.31.0
  • 0.4.0
  • 0.5.0
  • 0.6.0
  • 0.8.0
  • 0.9.0
  • 1.10.0
  • 1.11.0
  • 1.12.2
  • 1.12.3
  • 1.13.0
  • 1.14.0
  • 1.15.0
  • 1.16.0
  • 1.16.2
  • 1.17.0
  • 1.17.1
  • 1.2.0
  • 1.3.0
  • 1.3.1
  • 1.4.0
  • 1.5.0
  • 1.6.0
  • 1.7.0
  • 1.8.0
  • 1.8.1
  • 1.8.2
  • 1.9.0
  • 2.0.0
  • 2.1.0
  • 2.10.0
  • 2.10.1
  • 2.11.0
  • 2.11.1
  • 2.12.0
  • 2.13.0
  • 2.14.0
  • 2.14.1
  • 2.15.0
  • 2.16.0
  • 2.16.1
  • 2.17.0
  • 2.17.1
  • 2.18.0
  • 2.19.0
  • 2.2.0
  • 2.2.1
  • 2.20.0
  • 2.21.0
  • 2.22.0
  • 2.23.0
  • 2.24.0
  • 2.24.1
  • 2.24.2
  • 2.25.0
  • 2.26.0
  • 2.3.0
  • 2.4.0
  • 2.4.1
  • 2.5.0
  • 2.6.0
  • 2.7.0
  • 2.8.0
  • 2.9.0
  • 2.9.1
  • bescheid-manager-1.18.0
  • help
  • list
  • opensource-1
  • push
  • v0.6.0
  • v0.7.0
117 results
Show changes
Commits on Source (11)
......@@ -97,6 +97,40 @@ spec:
value: {{ .Values.osipostfach.httpproxy.auth.password }}
{{- end }}
{{- end }}
- name: ozgcloud_osiv2_enabled
value: "{{ (.Values.ozgcloud.osiv2).enabled }}"
{{- if (.Values.ozgcloud.osiv2).enabled}}
- name: ozgcloud_osiv2_auth_client-id
valueFrom:
secretKeyRef:
name: osiv2-auth
key: client-id
- name: ozgcloud_osiv2_auth_client-secret
valueFrom:
secretKeyRef:
name: osiv2-auth
key: client-secret
- name: ozgcloud_osiv2_auth_scope
value: {{ .Values.ozgcloud.osiv2.auth.scope }}
- name: ozgcloud_osiv2_auth_token-uri
value: {{ .Values.ozgcloud.osiv2.auth.tokenuri }}
- name: ozgcloud_osiv2_auth_resource
value: {{ .Values.ozgcloud.osiv2.auth.resource }}
- name: ozgcloud_osiv2_api_url
value: {{ .Values.ozgcloud.osiv2.api.url }}
- name: ozgcloud_osiv2_api_tenant
value: {{ .Values.ozgcloud.osiv2.api.tenant}}
- name: ozgcloud_osiv2_api_name-identifier
value: {{ .Values.ozgcloud.osiv2.api.nameidentifier}}
{{- if (.Values.ozgcloud.osiv2.httpproxy).enabled}}
- name: ozgcloud_osiv2_http-proxy_enabled
value: "{{ .Values.ozgcloud.osiv2.httpproxy.enabled }}"
- name: ozgcloud_osiv2_http-proxy_host
value: {{ .Values.ozgcloud.osiv2.httpproxy.host }}
- name: ozgcloud_osiv2_http-proxy_port
value: "{{ .Values.ozgcloud.osiv2.httpproxy.port }}"
{{- end }}
{{- end }}
{{- if (.Values.rabbitmq).enabled }}
- name: spring_rabbitmq_username
valueFrom:
......
#
# Copyright (C) 2025 Das Land Schleswig-Holstein vertreten durch den
# Ministerpräsidenten des Landes Schleswig-Holstein
# Staatskanzlei
# Abteilung Digitalisierung und zentrales IT-Management der Landesregierung
#
# Lizenziert unter der EUPL, Version 1.2 oder - sobald
# diese von der Europäischen Kommission genehmigt wurden -
# Folgeversionen der EUPL ("Lizenz");
# Sie dürfen dieses Werk ausschließlich gemäß
# dieser Lizenz nutzen.
# Eine Kopie der Lizenz finden Sie hier:
#
# https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
#
# Sofern nicht durch anwendbare Rechtsvorschriften
# gefordert oder in schriftlicher Form vereinbart, wird
# die unter der Lizenz verbreitete Software "so wie sie
# ist", OHNE JEGLICHE GEWÄHRLEISTUNG ODER BEDINGUNGEN -
# ausdrücklich oder stillschweigend - verbreitet.
# Die sprachspezifischen Genehmigungen und Beschränkungen
# unter der Lizenz sind dem Lizenztext zu entnehmen.
#
{{- if (.Values.ozgcloud.osiv2).enabled }}
apiVersion: v1
kind: Secret
metadata:
name: osiv2-auth
namespace: {{ include "app.namespace" . }}
type: Opaque
stringData:
client-id: {{ .Values.ozgcloud.osiv2.auth.clientid }}
client-secret: {{ .Values.ozgcloud.osiv2.auth.clientsecret }}
{{- end }}
\ No newline at end of file
......@@ -71,3 +71,5 @@ ozgcloud:
namespace:
aggregationManager:
enabled: false
osiv2:
enabled: false
......@@ -40,21 +40,21 @@ set:
imagePullSecret: test-image-pull-secret
tests:
- it: should not fail on .Release.Namespace length less than 63 characters
asserts:
- notFailedTemplate: { }
- it: should fail on .Release.Namespace length longer than 63 characters
release:
namespace: test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890
asserts:
- failedTemplate:
errorMessage: .Release.Namespace test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890 ist zu lang (max. 63 Zeichen)
- it: should not fail on .Release.Namespace length less than 63 characters
- it: should not fail on .Chart.Name-.Chart.Version length less than 63 characters
asserts:
- notFailedTemplate: {}
- notFailedTemplate: { }
- it: should fail on .Chart.Name-.Chart.Version length longer than 63 characters
chart:
version: 1.0-test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890
asserts:
- failedTemplate:
errorMessage: .Chart.Name-.Chart.Version vorgang-manager-1.0-test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890 ist zu lang (max. 63 Zeichen)
- it: should not fail on .Chart.Name-.Chart.Version length less than 63 characters
asserts:
- notFailedTemplate: {}
\ No newline at end of file
#
# Copyright (C) 2025 Das Land Schleswig-Holstein vertreten durch den
# Ministerpräsidenten des Landes Schleswig-Holstein
# Staatskanzlei
# Abteilung Digitalisierung und zentrales IT-Management der Landesregierung
#
# Lizenziert unter der EUPL, Version 1.2 oder - sobald
# diese von der Europäischen Kommission genehmigt wurden -
# Folgeversionen der EUPL ("Lizenz");
# Sie dürfen dieses Werk ausschließlich gemäß
# dieser Lizenz nutzen.
# Eine Kopie der Lizenz finden Sie hier:
#
# https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
#
# Sofern nicht durch anwendbare Rechtsvorschriften
# gefordert oder in schriftlicher Form vereinbart, wird
# die unter der Lizenz verbreitete Software "so wie sie
# ist", OHNE JEGLICHE GEWÄHRLEISTUNG ODER BEDINGUNGEN -
# ausdrücklich oder stillschweigend - verbreitet.
# Die sprachspezifischen Genehmigungen und Beschränkungen
# unter der Lizenz sind dem Lizenztext zu entnehmen.
#
suite: deployment osiv2
release:
name: vorgang-manager
namespace: sh-helm-test
templates:
- templates/deployment.yaml
set:
baseUrl: test.sh.ozg-cloud.de
imagePullSecret: test-image-pull-secret
ozgcloud:
environment: dev
bezeichner: helm
osiv2:
auth:
clientid: "client-id"
clientsecret: "client-secret"
scope: "scope"
tokenuri: "token-uri"
resource: "resource"
api:
url: "https://api.url"
tenant: "tenant"
nameidentifier: "name-identifier"
httpproxy:
enabled: false
tests:
- it: should set osiv2 values
set:
ozgcloud:
osiv2:
enabled: true
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_enabled
value: "true"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_client-id
valueFrom:
secretKeyRef:
key: client-id
name: osiv2-auth
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_client-secret
valueFrom:
secretKeyRef:
key: client-secret
name: osiv2-auth
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_scope
value: "scope"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_token-uri
value: "token-uri"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_resource
value: "resource"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_api_url
value: "https://api.url"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_api_tenant
value: "tenant"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_api_name-identifier
value: "name-identifier"
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_http-proxy_enabled
any: true
- it: should set osiv2 proxy values
set:
ozgcloud:
osiv2:
enabled: true
httpproxy:
enabled: true
host: "http://proxy.host"
port: 8080
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_http-proxy_enabled
value: "true"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_http-proxy_host
value: "http://proxy.host"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_http-proxy_port
value: "8080"
- it: should not by default set osiv2 values
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_enabled
value: "false"
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_client_id
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_client_secret
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_scope
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_token-uri
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_auth_resource
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_api_url
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_api_tenant
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_api_name-identifier
any: true
- notContains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_osiv2_http_proxy_enabled
any: true
......@@ -47,12 +47,11 @@ tests:
asserts:
- hasDocuments:
count: 1
documentIndex: 1
documentIndex: 0
- it: should NOT create cr if not enabled
asserts:
- hasDocuments:
count: 0
documentIndex: 0
- it: should NOT create cr if disableOzgCloudOperator true
set:
elasticsearch:
......@@ -61,5 +60,4 @@ tests:
asserts:
- hasDocuments:
count: 0
documentIndex: 0
\ No newline at end of file
#
# Copyright (C) 2025 Das Land Schleswig-Holstein vertreten durch den
# Ministerpräsidenten des Landes Schleswig-Holstein
# Staatskanzlei
# Abteilung Digitalisierung und zentrales IT-Management der Landesregierung
#
# Lizenziert unter der EUPL, Version 1.2 oder - sobald
# diese von der Europäischen Kommission genehmigt wurden -
# Folgeversionen der EUPL ("Lizenz");
# Sie dürfen dieses Werk ausschließlich gemäß
# dieser Lizenz nutzen.
# Eine Kopie der Lizenz finden Sie hier:
#
# https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
#
# Sofern nicht durch anwendbare Rechtsvorschriften
# gefordert oder in schriftlicher Form vereinbart, wird
# die unter der Lizenz verbreitete Software "so wie sie
# ist", OHNE JEGLICHE GEWÄHRLEISTUNG ODER BEDINGUNGEN -
# ausdrücklich oder stillschweigend - verbreitet.
# Die sprachspezifischen Genehmigungen und Beschränkungen
# unter der Lizenz sind dem Lizenztext zu entnehmen.
#
suite: test osiv2 auth secret
release:
name: vorgang-manager
namespace: sh-helm-test
templates:
- templates/osiv2_auth_secret.yaml
set:
ozgcloud:
osiv2:
auth:
clientid: "client-id"
clientsecret: "client-secret"
tests:
- it: test metadata
set:
ozgcloud.osiv2.enabled: true
asserts:
- isKind:
of: Secret
- isAPIVersion:
of: v1
- equal:
path: metadata.name
value: osiv2-auth
- equal:
path: metadata.namespace
value: sh-helm-test
- it: test secret type
set:
ozgcloud.osiv2.enabled: true
asserts:
- equal:
path: type
value: Opaque
- it: should have stringData
set:
ozgcloud.osiv2.enabled: true
asserts:
- equal:
path: stringData.client-id
value: "client-id"
- equal:
path: stringData.client-secret
value: "client-secret"
- it: should not create osiv2 auth secret by default
asserts:
- hasDocuments:
count: 0