-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into DMED-119-integration-of-search-environment
- Loading branch information
Showing
18 changed files
with
165 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ SC_TITLE: Schul-Cloud Brandenburg | |
SC_PRODUCTNAME: Schul-Cloud Brandenburg | ||
SC_NAV_TITLE: Schul-Cloud Brandenburg | ||
SC_CONTACT_EMAIL: [email protected] | ||
DASHBOARD_ANNOUNCEMENT_TEXT: dashboard.text.announcementBrb | ||
DASHBOARD_ANNOUNCEMENT_TEXT: '' | ||
DASHBOARD_ANNOUNCEMENT_ROLES: teacher,administrator | ||
GLOBAL_ANNOUNCEMENT_TEXT: '' | ||
GLOBAL_ANNOUNCEMENT_ROLES: teacher,administrator | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
ERWINIDM_PREFIX: idm- | ||
ERWINIDM_PREFIX: idm- | ||
ERWINIDM_ADMIN_INGRESS_CLASS: nginx | ||
ERWINIDM_ADMIN_CREATE_CERTIFICATE: false | ||
ERWINIDM_ADMIN_PREFIX: idm-admin- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
ERWINIDM_PREFIX: idm. | ||
ERWINIDM_PREFIX: idm. | ||
ERWINIDM_ADMIN_PREFIX: idm-admin. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
ERWINIDM_ADMIN_HOSTNAME: idm-admin.brandenburg.dbildungscloud.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
ERWINIDM_ADMIN_HOSTNAME: idm-admin.niedersachsen.dbildungscloud.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
ERWINIDM_ADMIN_HOSTNAME: idm-admin.thueringen.dbildungscloud.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
ERWINIDM_ADMIN_HOSTNAME: idm-admin.staging.thueringen.dbildungscloud.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
ansible/roles/erwin-idm/templates/admin-certificate.yml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#jinja2: trim_blocks: "True", lstrip_blocks: "True" | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: {{ ERWINIDM_ADMIN_HOSTNAME }} | ||
namespace: {{ NAMESPACE }} | ||
spec: | ||
dnsNames: | ||
- {{ ERWINIDM_ADMIN_HOSTNAME }} | ||
secretName: {{ ERWINIDM_ADMIN_HOSTNAME }}-tls | ||
issuerRef: | ||
kind: ClusterIssuer | ||
name: sc-cert-manager-clusterissuer-letsencrypt-otcdns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#jinja2: trim_blocks: "True", lstrip_blocks: "True" | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: erwinidm-admin-ingress | ||
namespace: {{ NAMESPACE }} | ||
annotations: | ||
nginx.ingress.kubernetes.io/proxy-body-size: "50m" | ||
nginx.ingress.kubernetes.io/proxy-buffers-number: "4" | ||
nginx.ingress.kubernetes.io/proxy-buffer-size: "256k" | ||
nginx.ingress.kubernetes.io/ssl-redirect: "{{ TLS_ENABLED|default("false") }}" | ||
nginx.ingress.kubernetes.io/auth-tls-verify-client: "on" | ||
nginx.ingress.kubernetes.io/auth-tls-secret: "{{ NAMESPACE }}/{{ ERWINIDM_ADMIN_TLS_AUTH_SECRET }}" | ||
nginx.ingress.kubernetes.io/auth-tls-verify-depth: "1" | ||
{% if CLUSTER_ISSUER is defined and not ERWINIDM_ADMIN_CREATE_CERTIFICATE %} | ||
cert-manager.io/cluster-issuer: {{ CLUSTER_ISSUER }} | ||
{% endif %} | ||
spec: | ||
ingressClassName: {{ ERWINIDM_ADMIN_INGRESS_CLASS }} | ||
tls: | ||
- hosts: | ||
- {{ ERWINIDM_ADMIN_HOSTNAME }} | ||
{% if CLUSTER_ISSUER is defined or ERWINIDM_ADMIN_CREATE_CERTIFICATE %} | ||
secretName: {{ ERWINIDM_ADMIN_HOSTNAME }}-tls | ||
{% endif %} | ||
rules: | ||
- host: {{ ERWINIDM_ADMIN_HOSTNAME }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: erwinidm-svc | ||
port: | ||
number: {{ ERWINIDM_PORT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: onepassword.com/v1 | ||
kind: OnePasswordItem | ||
metadata: | ||
name: {{ ERWINIDM_ADMIN_TLS_AUTH_SECRET }} | ||
namespace: {{ NAMESPACE }} | ||
labels: | ||
app: erwinidm | ||
spec: | ||
itemPath: "vaults/{{ ONEPASSWORD_OPERATOR_VAULT }}/items/{{ ERWINIDM_ADMIN_TLS_AUTH_SECRET }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters