update CSP to allow rybbit for some ingresses [ci skip]
This commit is contained in:
parent
bd60f0faa3
commit
f6656aba24
3 changed files with 13 additions and 7 deletions
|
|
@ -435,7 +435,10 @@ module "ingress" {
|
|||
extra_annotations = {
|
||||
"nginx.ingress.kubernetes.io/proxy-body-size" : "500m"
|
||||
}
|
||||
rybbit_site_id = "942c76b8bd4d"
|
||||
rybbit_site_id = "942c76b8bd4d"
|
||||
additional_configuration_snippet = <<-EOF
|
||||
more_set_headers "Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' https://rybbit.viktorbarzin.me";
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -89,10 +89,13 @@ resource "kubernetes_service" "privatebin" {
|
|||
}
|
||||
|
||||
module "ingress" {
|
||||
source = "../ingress_factory"
|
||||
namespace = "privatebin"
|
||||
name = "privatebin"
|
||||
host = "pb"
|
||||
tls_secret_name = var.tls_secret_name
|
||||
rybbit_site_id = "3ae810b0476d"
|
||||
source = "../ingress_factory"
|
||||
namespace = "privatebin"
|
||||
name = "privatebin"
|
||||
host = "pb"
|
||||
tls_secret_name = var.tls_secret_name
|
||||
rybbit_site_id = "3ae810b0476d"
|
||||
additional_configuration_snippet = <<-EOF
|
||||
more_set_headers "Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' https://rybbit.viktorbarzin.me";
|
||||
EOF
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue