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 574780c0
authored
May 22, 2024
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add annotations2
1 parent
c5dd38f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
main.tf
variables.tf
main.tf
View file @
574780c
...
@@ -88,8 +88,8 @@ module "ingress" {
...
@@ -88,8 +88,8 @@ module "ingress" {
service_namespace = local.namespace
service_namespace = local.namespace
service_name = local.name
service_name = local.name
annotations = {
annotations = {
nginx.ingress.kubernetes.io/proxy-send-timeout
= "360"
"nginx.ingress.kubernetes.io/proxy-send-timeout"
= "360"
nginx.ingress.kubernetes.io/proxy-read-timeout
= "360"
"nginx.ingress.kubernetes.io/proxy-read-timeout"
= "360"
}
}
rule = [
rule = [
...
...
variables.tf
View file @
574780c
...
@@ -148,3 +148,9 @@ variable "hosts" {
...
@@ -148,3 +148,9 @@ variable "hosts" {
description = "(Optional) host aliases 手动配置域名到hosts"
description = "(Optional) host aliases 手动配置域名到hosts"
default = []
default = []
}
}
variable "annotations" {
description = "(Optional) Custom Annotations"
default = null
}
\ No newline at end of file
\ No newline at end of file
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