Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
terraform_module
/
scrm_standard_template
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e2e55003
authored
May 22, 2024
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add annation
1 parent
f52fb00e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
main.tf
main.tf
View file @
e2e5500
...
...
@@ -52,7 +52,7 @@ module "deployment" {
#domian map to /etc/hosts
hosts = [
for host_list in var.hosts:
for host_list in var.hosts
:
{
hostname = host_list.hostname,
ip = host_list.ip
...
...
@@ -87,13 +87,17 @@ module "ingress" {
ingress_name = local.name
service_namespace = local.namespace
service_name = local.name
annotations = {
"nginx.ingress.kubernetes.io/proxy-send-timeout" = "360"
"nginx.ingress.kubernetes.io/proxy-read-timeout" = "360"
}
rule = [
{
domain = var.ingress_switch.domain_name
external_port = var.ports[0] // Service port
path = var.ingress_switch.path
path_type = var.ingress_switch.path_type
path
= var.ingress_switch.path
path_type
= var.ingress_switch.path_type
}
]
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment