fix
This commit is contained in:
@@ -6,64 +6,15 @@ metadata:
|
|||||||
name: code-server
|
name: code-server
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
timezone:
|
timezone:
|
||||||
default: Europe/Paris
|
default: Europe/Paris
|
||||||
examples:
|
examples:
|
||||||
- Europe/Paris
|
- Europe/Paris
|
||||||
type: string
|
type: string
|
||||||
images:
|
sub_domain:
|
||||||
default:
|
default: code
|
||||||
codeserver:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
examples:
|
examples:
|
||||||
- codeserver:
|
- code
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
properties:
|
|
||||||
codeserver:
|
|
||||||
default:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
properties:
|
|
||||||
pullPolicy:
|
|
||||||
default: IfNotPresent
|
|
||||||
enum:
|
|
||||||
- Always
|
|
||||||
- Never
|
|
||||||
- IfNotPresent
|
|
||||||
type: string
|
|
||||||
registry:
|
|
||||||
default: docker.io
|
|
||||||
type: string
|
|
||||||
repository:
|
|
||||||
default: sebt3/code-server
|
|
||||||
type: string
|
|
||||||
tag:
|
|
||||||
default: 4.18
|
|
||||||
type: number
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
domain_name:
|
|
||||||
default: your-company.com
|
|
||||||
examples:
|
|
||||||
- your-company.com
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
type: string
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
@@ -108,16 +59,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
sub_domain:
|
|
||||||
default: code
|
|
||||||
examples:
|
|
||||||
- code
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
no-editor:
|
no-editor:
|
||||||
default: false
|
default: false
|
||||||
examples:
|
examples:
|
||||||
@@ -143,6 +84,65 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- dev
|
- dev
|
||||||
type: string
|
type: string
|
||||||
|
images:
|
||||||
|
default:
|
||||||
|
codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
examples:
|
||||||
|
- codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
properties:
|
||||||
|
codeserver:
|
||||||
|
default:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
properties:
|
||||||
|
pullPolicy:
|
||||||
|
default: IfNotPresent
|
||||||
|
enum:
|
||||||
|
- Always
|
||||||
|
- Never
|
||||||
|
- IfNotPresent
|
||||||
|
type: string
|
||||||
|
registry:
|
||||||
|
default: docker.io
|
||||||
|
type: string
|
||||||
|
repository:
|
||||||
|
default: sebt3/code-server
|
||||||
|
type: string
|
||||||
|
tag:
|
||||||
|
default: 4.18
|
||||||
|
type: number
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your-company.com
|
||||||
|
examples:
|
||||||
|
- your-company.com
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
@@ -155,6 +155,7 @@ providers:
|
|||||||
authentik: true
|
authentik: true
|
||||||
kubectl: true
|
kubectl: true
|
||||||
postgresql: null
|
postgresql: null
|
||||||
|
mysql: null
|
||||||
restapi: true
|
restapi: true
|
||||||
http: true
|
http: true
|
||||||
gitea: null
|
gitea: null
|
||||||
|
|||||||
@@ -7,12 +7,6 @@ locals {
|
|||||||
"Content-Type" = "application/json"
|
"Content-Type" = "application/json"
|
||||||
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
||||||
}
|
}
|
||||||
service = {
|
|
||||||
"name" = "${var.instance}${var.component==""?"":"-"}${var.component}"
|
|
||||||
"port" = {
|
|
||||||
"number" = 80
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module "service" {
|
module "service" {
|
||||||
@@ -22,7 +16,6 @@ module "service" {
|
|||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
targets = ["http"]
|
targets = ["http"]
|
||||||
ports = [local.service.port.number]
|
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -38,7 +31,7 @@ module "ingress" {
|
|||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = [module.forward.middleware]
|
middlewares = [module.forward.middleware]
|
||||||
services = [local.service]
|
services = [module.service.default_definition]
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -76,7 +69,7 @@ module "forward" {
|
|||||||
ingress_class = var.ingress_class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = module.service.default_definition
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
request_headers = local.request_headers
|
request_headers = local.request_headers
|
||||||
providers = {
|
providers = {
|
||||||
|
|||||||
@@ -6,6 +6,51 @@ metadata:
|
|||||||
name: gramo
|
name: gramo
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
managed:
|
||||||
|
default: false
|
||||||
|
examples:
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
|
namespaces:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
app_group:
|
||||||
|
default: infra
|
||||||
|
examples:
|
||||||
|
- infra
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
sub_domain:
|
||||||
|
default: gramo
|
||||||
|
examples:
|
||||||
|
- gramo
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
cluster-admin:
|
||||||
|
default: false
|
||||||
|
examples:
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
gramo:
|
gramo:
|
||||||
@@ -45,51 +90,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
cluster-admin:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
app_group:
|
|
||||||
default: infra
|
|
||||||
examples:
|
|
||||||
- infra
|
|
||||||
type: string
|
|
||||||
domain_name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
sub_domain:
|
|
||||||
default: gramo
|
|
||||||
examples:
|
|
||||||
- gramo
|
|
||||||
type: string
|
|
||||||
namespaces:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
managed:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
@@ -102,6 +102,7 @@ providers:
|
|||||||
authentik: true
|
authentik: true
|
||||||
kubectl: true
|
kubectl: true
|
||||||
postgresql: null
|
postgresql: null
|
||||||
|
mysql: null
|
||||||
restapi: true
|
restapi: true
|
||||||
http: true
|
http: true
|
||||||
gitea: null
|
gitea: null
|
||||||
|
|||||||
@@ -7,12 +7,6 @@ locals {
|
|||||||
"Content-Type" = "application/json"
|
"Content-Type" = "application/json"
|
||||||
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
||||||
}
|
}
|
||||||
service = {
|
|
||||||
"name" = "${var.instance}-${var.component}"
|
|
||||||
"port" = {
|
|
||||||
"number" = 80
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module "service" {
|
module "service" {
|
||||||
@@ -22,7 +16,6 @@ module "service" {
|
|||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
targets = ["http"]
|
targets = ["http"]
|
||||||
ports = [local.service.port.number]
|
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -38,7 +31,7 @@ module "ingress" {
|
|||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = [module.forward.middleware]
|
middlewares = [module.forward.middleware]
|
||||||
services = [local.service]
|
services = [module.service.default_definition]
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -76,7 +69,7 @@ module "forward" {
|
|||||||
ingress_class = var.ingress_class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = module.service.default_definition
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
request_headers = local.request_headers
|
request_headers = local.request_headers
|
||||||
providers = {
|
providers = {
|
||||||
|
|||||||
@@ -6,41 +6,6 @@ metadata:
|
|||||||
name: okd
|
name: okd
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
domain_name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
app_group:
|
|
||||||
default: infra
|
|
||||||
examples:
|
|
||||||
- infra
|
|
||||||
type: string
|
|
||||||
sub_domain:
|
|
||||||
default: okd
|
|
||||||
examples:
|
|
||||||
- okd
|
|
||||||
type: string
|
|
||||||
cluster-admin:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
namespaces:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
okd:
|
okd:
|
||||||
@@ -80,16 +45,51 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
cluster-admin:
|
||||||
|
default: false
|
||||||
|
examples:
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
ingress_class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
|
app_group:
|
||||||
|
default: infra
|
||||||
|
examples:
|
||||||
|
- infra
|
||||||
|
type: string
|
||||||
|
sub_domain:
|
||||||
|
default: okd
|
||||||
|
examples:
|
||||||
|
- okd
|
||||||
|
type: string
|
||||||
managed:
|
managed:
|
||||||
default: false
|
default: false
|
||||||
examples:
|
examples:
|
||||||
- false
|
- false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
namespaces:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
@@ -102,6 +102,7 @@ providers:
|
|||||||
authentik: true
|
authentik: true
|
||||||
kubectl: true
|
kubectl: true
|
||||||
postgresql: null
|
postgresql: null
|
||||||
|
mysql: null
|
||||||
restapi: true
|
restapi: true
|
||||||
http: true
|
http: true
|
||||||
gitea: null
|
gitea: null
|
||||||
|
|||||||
@@ -7,12 +7,6 @@ locals {
|
|||||||
"Content-Type" = "application/json"
|
"Content-Type" = "application/json"
|
||||||
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
||||||
}
|
}
|
||||||
service = {
|
|
||||||
"name" = "${var.instance}${var.component==""?"":"-"}${var.component}"
|
|
||||||
"port" = {
|
|
||||||
"number" = 80
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module "service" {
|
module "service" {
|
||||||
@@ -22,7 +16,6 @@ module "service" {
|
|||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
targets = ["http"]
|
targets = ["http"]
|
||||||
ports = [local.service.port.number]
|
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -38,7 +31,7 @@ module "ingress" {
|
|||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = [module.forward.middleware]
|
middlewares = [module.forward.middleware]
|
||||||
services = [local.service]
|
services = [module.service.default_definition]
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -76,7 +69,7 @@ module "forward" {
|
|||||||
ingress_class = var.ingress_class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = module.service.default_definition
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
request_headers = local.request_headers
|
request_headers = local.request_headers
|
||||||
providers = {
|
providers = {
|
||||||
|
|||||||
Reference in New Issue
Block a user