diff --git a/apps/gramo/index.yaml b/apps/gramo/index.yaml index 2d6d7d8..6660e4a 100644 --- a/apps/gramo/index.yaml +++ b/apps/gramo/index.yaml @@ -6,16 +6,31 @@ metadata: name: gramo description: null options: + sub-domain: + default: gramo + examples: + - gramo + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + 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 - app-group: - default: infra - examples: - - infra - type: string images: default: gramo: @@ -55,41 +70,26 @@ options: type: string type: object type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - domain: - default: your-company - examples: - - your-company - type: string ingress-class: default: traefik examples: - traefik type: string - sub-domain: - default: gramo + app-group: + default: infra examples: - - gramo + - infra type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - cluster-admin: - default: false - examples: - - false - type: boolean namespaces: default: [] items: type: string type: array + cluster-admin: + default: false + examples: + - false + type: boolean dependencies: - dist: null category: share diff --git a/apps/gramo/presentation.tf b/apps/gramo/presentation.tf index fac580c..6aca027 100644 --- a/apps/gramo/presentation.tf +++ b/apps/gramo/presentation.tf @@ -34,9 +34,9 @@ module "ingress" { instance = var.instance namespace = var.namespace issuer = var.issuer - ingress-class = var.ingress-class + ingress_class = var.ingress-class labels = local.common-labels - dns-names = local.dns-names + dns_names = local.dns-names middlewares = ["forward-${local.app-name}"] service = local.service providers = { @@ -48,8 +48,8 @@ module "application" { source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application" component = var.component instance = var.instance - app-group = var.app-group - dns-name = local.dns-name + app_group = var.app-group + dns_name = local.dns-name icon = local.icon protocol_provider = module.forward.provider-id providers = { @@ -73,9 +73,9 @@ module "forward" { instance = var.instance domain = var.domain namespace = var.namespace - ingress-class = var.ingress-class + ingress_class = var.ingress-class labels = local.common-labels - dns-names = local.dns-names + dns_names = local.dns-names service = local.service icon = local.icon request_headers = local.request_headers