diff --git a/apps/gramo/index.yaml b/apps/gramo/index.yaml index 7c4482f..0fc2bbd 100644 --- a/apps/gramo/index.yaml +++ b/apps/gramo/index.yaml @@ -6,46 +6,36 @@ metadata: name: gramo description: null options: - app-group: - default: infra - examples: - - 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 + domain: + default: your-company + examples: + - your-company + type: string + app-group: + default: infra + examples: + - infra + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + namespaces: + default: [] + items: + type: string + type: array images: default: gramo: @@ -85,10 +75,20 @@ options: type: string type: object type: object - domain-name: - default: your_company.com + sub-domain: + default: gramo examples: - - your_company.com + - gramo + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + ingress-class: + default: traefik + examples: + - traefik type: string dependencies: - dist: null diff --git a/apps/gramo/presentation.tf b/apps/gramo/presentation.tf index 8fbe77e..fbdc89e 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] + targets = ["http"] + ports = [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] + services = [local.service] providers = { kubectl = kubectl }