Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
terraform_module
/
lighttpd_standard_webservice
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 e23d8dcd
authored
Dec 28, 2023
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update1
1 parent
03962050
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
2 deletions
README.md
schema.yaml
variables.tf
README.md
View file @
e23d8dc
...
...
@@ -28,6 +28,7 @@
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
|
<a
name=
"input_context"
></a>
[
context
](
#input\_context
)
| Receive contextual information. When Walrus deploys, Walrus will inject specific contextual information into this field.
<br><br>
Examples:
<pre>
context:
<br>
project:
<br>
name: string
<br>
id: string
<br>
environment:
<br>
name: string
<br>
id: string
<br>
resource:
<br>
name: string
<br>
id: string
</pre>
|
`map(any)`
|
`{}`
| no |
|
<a
name=
"input_domain_name"
></a>
[
domain\_name
](
#input\_domain\_name
)
| 域名 |
`string`
| n/a | yes |
|
<a
name=
"input_env"
></a>
[
env
](
#input\_env
)
| Name and value pairs to set as the environment variables |
`map(string)`
|
`{}`
| no |
|
<a
name=
"input_image"
></a>
[
image
](
#input\_image
)
| Docker image name |
`string`
| n/a | yes |
...
...
schema.yaml
View file @
e23d8dc
...
...
@@ -14,12 +14,14 @@ components:
type
:
string
description
:
Docker image name
x-walrus-ui
:
group
:
Basic
order
:
1
domain_name
:
title
:
Domain Name
type
:
string
description
:
域名
x-walrus-ui
:
group
:
Basic
order
:
2
name
:
title
:
Name
...
...
@@ -28,6 +30,7 @@ components:
default
:
"
"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
3
port
:
title
:
Port
...
...
@@ -36,6 +39,7 @@ components:
default
:
"
7777"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
4
env
:
title
:
Env
...
...
@@ -47,6 +51,7 @@ components:
type
:
string
x-walrus-ui
:
colSpan
:
12
group
:
Basic
order
:
5
replicas
:
title
:
Replicas
...
...
@@ -55,6 +60,7 @@ components:
default
:
1
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
6
request_cpu
:
title
:
Request Cpu
...
...
@@ -63,6 +69,7 @@ components:
default
:
"
0.1"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
7
request_memory
:
title
:
Request Memory
...
...
@@ -71,6 +78,7 @@ components:
default
:
128Mi
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
8
limit_cpu
:
title
:
Limit Cpu
...
...
@@ -79,6 +87,7 @@ components:
default
:
"
0.5"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
9
limit_memory
:
title
:
Limit Memory
...
...
@@ -87,6 +96,7 @@ components:
default
:
128Mi
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
10
probe_http_port
:
title
:
Probe Http Port
...
...
@@ -95,6 +105,7 @@ components:
default
:
"
7777"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
11
probe_http_path
:
title
:
Probe Http Path
...
...
@@ -103,6 +114,7 @@ components:
default
:
/
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
12
restart_policy
:
title
:
Restart Policy
...
...
@@ -112,6 +124,7 @@ components:
default
:
Always
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
13
path_type
:
title
:
Path Type
...
...
@@ -120,6 +133,7 @@ components:
default
:
ImplementationSpecific
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
14
path
:
title
:
Path
...
...
@@ -128,6 +142,7 @@ components:
default
:
/
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
15
walrus_metadata_service_name
:
title
:
Walrus Metadata Service Name
...
...
@@ -136,6 +151,7 @@ components:
default
:
"
"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
16
walrus_metadata_namespace_name
:
title
:
Walrus Metadata Namespace Name
...
...
@@ -144,4 +160,38 @@ components:
default
:
"
"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
17
context
:
title
:
Context
type
:
object
description
:
|
Receive contextual information. When Walrus deploys, Walrus will inject specific contextual information into this field.
Examples:
```
context:
project:
name: string
id: string
environment:
name: string
id: string
resource:
name: string
id: string
```
default
:
{}
nullable
:
true
additionalProperties
:
type
:
object
x-walrus-ui
:
colSpan
:
12
x-walrus-ui
:
colSpan
:
12
group
:
Basic
hidden
:
true
order
:
18
x-walrus-ui
:
groupOrder
:
-
Basic
variables.tf
View file @
e23d8dc
...
...
@@ -6,7 +6,7 @@ variable "image" {
}
# @label "
域名名字
"
# @label "
domain name
"
# @group "Basic"
variable "domain_name" {
type = string
...
...
@@ -104,7 +104,7 @@ variable "probe_http_path" {
}
# @label "
重启策略
"
# @label "
restart police
"
# @group "Advanced"
variable "restart_policy" {
type = string
...
...
@@ -143,3 +143,26 @@ variable "walrus_metadata_namespace_name" {
description = "Walrus metadata namespace name."
default = ""
}
# @hidden
variable "context" {
description = <<-EOF
Receive contextual information. When Walrus deploys, Walrus will inject specific contextual information into this field.
Examples:
```
context:
project:
name: string
id: string
environment:
name: string
id: string
resource:
name: string
id: string
```
EOF
type = map(any)
default = {}
}
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