SRAM deploy roles port#634
Conversation
…ion-configurable' into develop
…able_account_linking Featue toggle enable_account_linking
…e_app Feature toggle use_app
…feature/#1001-different-email-from-for-nudges-and-warnings
…ngs' into develop # Conflicts: # roles/myconext/templates/application.yml.j2
…-mail-usage-expression to daily
…tches-to-main' into develop
…ror_mail-configurable-for-prod-and-non-prod-develop #802-differentiate-error_mail-configurable-for-prod-and-non-prod-develop
…to-create-from-institution #1042 Add create-from-institution return-url-allowed-domains
Added sram_rp_entity_id to manage for push functionality
…script Improve ebauth log parsing, and parse stepup-authentication logs also
crosmuller
left a comment
There was a problem hiding this comment.
zie review comments in code
| bind {{ haproxy_sni_ip.ipv4 }}:636 ssl crt-list /etc/haproxy/maps/certlist.lst ssl crt /etc/haproxy/certs/ no-sslv3 no-tlsv10 no-tlsv11 transparent | ||
| bind {{ haproxy_sni_ip.ipv6 }}:636 ssl crt-list /etc/haproxy/maps/certlist.lst ssl crt /etc/haproxy/certs/ no-sslv3 no-tlsv10 no-tlsv11 transparent | ||
| use_backend ldap_servers | ||
| {% endif %} |
There was a problem hiding this comment.
Hier is ook een firewall change nodig denk ik?
There was a problem hiding this comment.
Geen idee, het werkt nu in iedergeval zonder?
| option logasap | ||
| timeout client 900s | ||
| timeout server 901s | ||
| bind {{ haproxy_sni_ip.ipv4 }}:636 ssl crt-list /etc/haproxy/maps/certlist.lst ssl crt /etc/haproxy/certs/ no-sslv3 no-tlsv10 no-tlsv11 transparent |
There was a problem hiding this comment.
Hoe komt de ldap hostname aan een certificaat? Moet dan get_acme_certs.yml ook niet worden aangepast zocdat haproxy_ldap_servers aan de lijst met hostnames wordt toegevoegd?
There was a problem hiding this comment.
Dat is geregeld in de loadbalancer hostname configuratie voor zover ik me herinner. Het gaat in elk geval goed op dit moment?
| purge-audit-log-days: 365 | ||
| purge-audit-log-days: 0 | ||
| # A value of 0 means no invitations will be deleted | ||
| purge-expired-invitations-days: 365 |
There was a problem hiding this comment.
Dit lijkt me niet de bedoeling?
There was a problem hiding this comment.
Ik weet niet waar deze change vandaan komt, ik denk dat het een rebase is?
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| mailpit_image: "axllent/mailpit" | |||
There was a problem hiding this comment.
Ik denk niet dat we een random image van een vaag persoon op internet direct willen utirollen, zeker niet als dat straks ook in publieke test terecht komt.
Waarschijnlijk beter om zelf een baseimage te bouwen hiervoor.
|
|
||
| redis: | ||
| {% if environment_shortname == 'test2' %} | ||
| uri: "redis://{{ sbs_redis_user }}:{{ sbs_redis_password }}@{{sbs_redis_host}}/" |
There was a problem hiding this comment.
En hoe praat SBS eigenlijk met redis? Praat hij met een lokale container, via traefik of via de loadbalancer?
There was a problem hiding this comment.
Via de magic containernaam volgens mij?
| scim_schema_sram: "urn:mace:surf.nl:sram:scim:extension" | ||
| collaboration_creation_allowed_entitlement: "urn:mace:surf.nl:sram:allow-create-co" | ||
|
|
||
| {% if env == "prd" %} |
There was a problem hiding this comment.
kunnen we niet beter in prd gewoon sbs_disclaimer_label op een lege string zetten in de group_vars?
There was a problem hiding this comment.
Dit is letterlijk de config.yml.j2 van onze aws deploy
| @@ -0,0 +1,6 @@ | |||
| {% if env!="prd" -%} | |||
There was a problem hiding this comment.
zie comment hierboven. betre check if of sbs_disclaimer_label leeg is.
| #CustomLog /proc/self/fd/1 common | ||
| DocumentRoot /opt/sbs/client/dist | ||
|
|
||
| Header set Content-Security-Policy "default-src 'self'; base-uri 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-src 'none'; form-action 'self' https://*.{{ base_domain }}; frame-ancestors 'none'; block-all-mixed-content;" |
There was a problem hiding this comment.
In SURFconext zijn de CSPs globaal gedefinieerd. Even met @crosmuller afstemmen hoe dat het handigst te combineren is.
Bugfix for double quote
Port the SRAM-deploy roles to OpenConext