diff --git a/apps/code-server/index.yaml b/apps/code-server/index.yaml index 860ec74..1eec2f9 100644 --- a/apps/code-server/index.yaml +++ b/apps/code-server/index.yaml @@ -6,36 +6,21 @@ metadata: name: code-server description: null options: - sub-domain: - default: code - examples: - - code - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string timezone: default: Europe/Paris examples: - Europe/Paris type: string - ingress_class: - default: traefik + app_group: + default: dev examples: - - traefik + - dev type: string no-editor: default: false examples: - false type: boolean - domain: - default: your-company - examples: - - your-company - type: string admin: default: cluster: false @@ -51,6 +36,11 @@ options: default: false type: boolean type: object + sub-domain: + default: code + examples: + - code + type: string images: default: codeserver: @@ -90,15 +80,15 @@ options: type: number type: object type: object - domain_name: - default: your-company.com + domain: + default: your-company examples: - - your-company.com + - your-company type: string - app_group: - default: dev + ingress_class: + default: traefik examples: - - dev + - traefik type: string storage: default: @@ -137,6 +127,16 @@ options: type: string type: object type: object + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + domain_name: + default: your-company.com + examples: + - your-company.com + type: string dependencies: - dist: null category: share diff --git a/apps/code-server/presentation.tf b/apps/code-server/presentation.tf index 251f4a6..8becb2a 100644 --- a/apps/code-server/presentation.tf +++ b/apps/code-server/presentation.tf @@ -37,7 +37,7 @@ module "ingress" { ingress_class = var.ingress_class labels = local.common-labels dns_names = local.dns_names - middlewares = ["forward-${local.app_name}"] + middlewares = [module.forward.middleware] services = [local.service] providers = { kubectl = kubectl diff --git a/apps/gramo/index.yaml b/apps/gramo/index.yaml index ded86f2..4660628 100644 --- a/apps/gramo/index.yaml +++ b/apps/gramo/index.yaml @@ -6,41 +6,6 @@ metadata: name: gramo description: null options: - sub-domain: - default: gramo - examples: - - gramo - type: string - ingress_class: - default: traefik - examples: - - traefik - type: string - managed: - default: false - examples: - - false - type: boolean - namespaces: - default: [] - items: - type: string - type: array - domain: - default: your-company - examples: - - your-company - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - cluster-admin: - default: false - examples: - - false - type: boolean images: default: gramo: @@ -80,16 +45,51 @@ options: type: string type: object type: object - domain_name: - default: your_company.com + cluster-admin: + default: false examples: - - your_company.com - type: string + - 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: - dist: null category: share diff --git a/apps/gramo/presentation.tf b/apps/gramo/presentation.tf index eb865b2..efc0374 100644 --- a/apps/gramo/presentation.tf +++ b/apps/gramo/presentation.tf @@ -37,7 +37,7 @@ module "ingress" { ingress_class = var.ingress_class labels = local.common-labels dns_names = local.dns_names - middlewares = ["forward-${local.app_name}"] + middlewares = [module.forward.middleware] services = [local.service] providers = { kubectl = kubectl diff --git a/apps/okd/index.yaml b/apps/okd/index.yaml index 93cfaf0..b50a289 100644 --- a/apps/okd/index.yaml +++ b/apps/okd/index.yaml @@ -6,21 +6,26 @@ metadata: name: okd description: null options: - managed: - default: false - examples: - - false - type: boolean issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string - cluster-admin: + managed: default: false examples: - false type: boolean + sub-domain: + default: okd + examples: + - okd + type: string + domain_name: + default: your_company.com + examples: + - your_company.com + type: string images: default: okd: @@ -60,31 +65,26 @@ options: type: string type: object type: object - domain_name: - default: your_company.com - examples: - - your_company.com - type: string domain: default: your-company examples: - your-company type: string - ingress_class: - default: traefik - examples: - - traefik - type: string - sub-domain: - default: okd - examples: - - okd - type: string app_group: default: infra examples: - infra type: string + ingress_class: + default: traefik + examples: + - traefik + type: string + cluster-admin: + default: false + examples: + - false + type: boolean namespaces: default: [] items: diff --git a/apps/okd/presentation.tf b/apps/okd/presentation.tf index 0479a7b..199b770 100644 --- a/apps/okd/presentation.tf +++ b/apps/okd/presentation.tf @@ -37,7 +37,7 @@ module "ingress" { ingress_class = var.ingress_class labels = local.common-labels dns_names = local.dns_names - middlewares = ["forward-${local.app_name}"] + middlewares = [module.forward.middleware] services = [local.service] providers = { kubectl = kubectl diff --git a/monitor/alertmanager/index.yaml b/monitor/alertmanager/index.yaml index 8126f85..2819e12 100644 --- a/monitor/alertmanager/index.yaml +++ b/monitor/alertmanager/index.yaml @@ -6,45 +6,30 @@ metadata: name: alertmanager description: null options: - issuer: - default: letsencrypt-prod + replicas: + default: 1 examples: - - letsencrypt-prod - type: string - ingress_class: - default: traefik + - 1 + type: integer + app_group: + default: monitor examples: - - traefik - type: string - domain_name: - default: your_company.com - examples: - - your_company.com + - monitor type: string listenLocal: default: false examples: - false type: boolean - replicas: - default: 1 + domain_name: + default: your_company.com examples: - - 1 - type: integer - sub-domain: - default: alertmanager - examples: - - alertmanager + - your_company.com type: string - logLevel: - default: info + domain: + default: your-company examples: - - info - type: string - retention: - default: 120h - examples: - - 120h + - your-company type: string images: default: @@ -85,15 +70,30 @@ options: type: string type: object type: object - domain: - default: your-company + logLevel: + default: info examples: - - your-company + - info type: string - app_group: - default: monitor + ingress_class: + default: traefik examples: - - monitor + - traefik + type: string + sub-domain: + default: alertmanager + examples: + - alertmanager + type: string + retention: + default: 120h + examples: + - 120h + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod type: string dependencies: - dist: null diff --git a/monitor/prometheus/index.yaml b/monitor/prometheus/index.yaml index a666155..e5b664f 100644 --- a/monitor/prometheus/index.yaml +++ b/monitor/prometheus/index.yaml @@ -6,36 +6,11 @@ metadata: name: prometheus description: null options: - ingress_class: - default: traefik - examples: - - traefik - type: string domain_name: default: your_company.com examples: - your_company.com type: string - shards: - default: 1 - examples: - - 1 - type: integer - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - app_group: - default: monitor - examples: - - monitor - type: string - sub-domain: - default: prometheus - examples: - - prometheus - type: string domain: default: your-company examples: @@ -46,25 +21,10 @@ options: examples: - 1 type: integer - logLevel: - default: info + issuer: + default: letsencrypt-prod examples: - - info - type: string - listenLocal: - default: false - examples: - - false - type: boolean - enableAdminAPI: - default: false - examples: - - false - type: boolean - alertmanager: - default: alertmanager-alertmanager - examples: - - alertmanager-alertmanager + - letsencrypt-prod type: string images: default: @@ -105,11 +65,51 @@ options: type: string type: object type: object + sub-domain: + default: prometheus + examples: + - prometheus + type: string + ingress_class: + default: traefik + examples: + - traefik + type: string + logLevel: + default: info + examples: + - info + type: string + app_group: + default: monitor + examples: + - monitor + type: string + listenLocal: + default: false + examples: + - false + type: boolean + enableAdminAPI: + default: false + examples: + - false + type: boolean + shards: + default: 1 + examples: + - 1 + type: integer retention: default: 10d examples: - 10d type: string + alertmanager: + default: alertmanager-alertmanager + examples: + - alertmanager-alertmanager + type: string dependencies: - dist: null category: share