add additional confguration for ingress [ci skip]
This commit is contained in:
parent
07c6f46832
commit
31af5ec01d
1 changed files with 5 additions and 0 deletions
|
|
@ -59,6 +59,10 @@ variable "rybbit_site_id" {
|
||||||
default = null
|
default = null
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
variable "additional_configuration_snippet" {
|
||||||
|
type = string
|
||||||
|
default = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
resource "kubernetes_service" "proxied-service" {
|
resource "kubernetes_service" "proxied-service" {
|
||||||
|
|
@ -133,6 +137,7 @@ resource "kubernetes_ingress_v1" "proxied-ingress" {
|
||||||
JS
|
JS
|
||||||
: ""
|
: ""
|
||||||
}
|
}
|
||||||
|
${var.additional_configuration_snippet}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
}, var.extra_annotations)
|
}, var.extra_annotations)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue