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 ea9ca38c
authored
Jun 04, 2024
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
change annatation
1 parent
147e504e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
23 deletions
main.tf
schema.yaml
variables.tf
main.tf
View file @
ea9ca38
...
@@ -103,7 +103,7 @@ module "ingress" {
...
@@ -103,7 +103,7 @@ module "ingress" {
# "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"
# }
# }
annotations = var.annotations
annotations = var.
ingress_switch.
annotations
rule = [
rule = [
{
{
...
...
schema.yaml
View file @
ea9ca38
...
@@ -205,12 +205,25 @@ components:
...
@@ -205,12 +205,25 @@ components:
type
:
object
type
:
object
description
:
choise ingress switch
description
:
choise ingress switch
default
:
default
:
annotations
:
{}
domain_name
:
null
domain_name
:
null
path
:
/
path
:
/
path_type
:
ImplementationSpecific
path_type
:
ImplementationSpecific
switch
:
"
off"
switch
:
"
off"
nullable
:
true
nullable
:
true
properties
:
properties
:
annotations
:
nullable
:
true
additionalProperties
:
type
:
object
x-walrus-ui
:
colSpan
:
12
title
:
Annotations
type
:
object
x-walrus-ui
:
colSpan
:
12
order
:
5
howIf
:
switch=on
domain_name
:
domain_name
:
nullable
:
true
nullable
:
true
title
:
Domain Name
title
:
Domain Name
...
@@ -282,21 +295,6 @@ components:
...
@@ -282,21 +295,6 @@ components:
colSpan
:
12
colSpan
:
12
group
:
Advanced
group
:
Advanced
order
:
18
order
:
18
annotations
:
title
:
Annotations
type
:
object
description
:
(Optional) Custom Annotations
default
:
{}
nullable
:
true
additionalProperties
:
type
:
object
x-walrus-ui
:
colSpan
:
12
x-walrus-ui
:
colSpan
:
12
group
:
Ingress
order
:
19
showIf
:
switch=on
prevent_deploy_on_the_same_node
:
prevent_deploy_on_the_same_node
:
title
:
Prevent Deploy On The Same Node
title
:
Prevent Deploy On The Same Node
type
:
boolean
type
:
boolean
...
...
variables.tf
View file @
ea9ca38
...
@@ -131,12 +131,14 @@ variable "ingress_switch" {
...
@@ -131,12 +131,14 @@ variable "ingress_switch" {
path_type = optional(string)
path_type = optional(string)
path = optional(string)
path = optional(string)
domain_name = optional(string)
domain_name = optional(string)
annotations = map(any)
})
})
default = {
default = {
switch = "off"
switch = "off"
path_type = "ImplementationSpecific"
path_type = "ImplementationSpecific"
path = "/"
path = "/"
domain_name = null
domain_name = null
annotations = {}
}
}
description = "choise ingress switch"
description = "choise ingress switch"
}
}
...
@@ -150,13 +152,6 @@ variable "hosts" {
...
@@ -150,13 +152,6 @@ variable "hosts" {
}
}
# @label "annotations"
# @group "Ingress"
variable "annotations" {
type = map(any)
description = "(Optional) Custom Annotations"
default = {}
}
# @label "affinity"
# @label "affinity"
# @group "advance"
# @group "advance"
variable "prevent_deploy_on_the_same_node" {
variable "prevent_deploy_on_the_same_node" {
...
...
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