diff --git a/apps/gramo/index.yaml b/apps/gramo/index.yaml index 6660e4a..7c4482f 100644 --- a/apps/gramo/index.yaml +++ b/apps/gramo/index.yaml @@ -6,31 +6,46 @@ metadata: name: gramo description: null options: - sub-domain: - default: gramo + app-group: + default: infra examples: - - gramo - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod + - infra type: string domain: default: your-company examples: - your-company type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string managed: default: false examples: - false type: boolean + namespaces: + default: [] + items: + type: string + type: array + 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: default: gramo: @@ -70,26 +85,11 @@ options: type: string type: object type: object - ingress-class: - default: traefik + domain-name: + default: your_company.com examples: - - traefik + - your_company.com type: string - app-group: - default: infra - examples: - - infra - type: string - 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 6aca027..8fbe77e 100644 --- a/apps/gramo/presentation.tf +++ b/apps/gramo/presentation.tf @@ -21,8 +21,8 @@ module "service" { instance = var.instance namespace = var.namespace labels = local.common-labels - target = "http" - port = local.service.port.number + target = ["http"] + port = [local.service.port.number] providers = { kubectl = kubectl } @@ -38,7 +38,7 @@ module "ingress" { labels = local.common-labels dns_names = local.dns-names middlewares = ["forward-${local.app-name}"] - service = local.service + service = [local.service] providers = { kubectl = kubectl }