This commit is contained in:
2024-01-19 17:05:39 +01:00
parent 46c78fb31a
commit ddf4bb9ccb
2 changed files with 31 additions and 31 deletions

View File

@@ -11,26 +11,46 @@ options:
examples: examples:
- false - false
type: boolean type: boolean
cluster-admin:
default: false
examples:
- false
type: boolean
namespaces: namespaces:
default: [] default: []
items: items:
type: string type: string
type: array type: array
app-group: sub-domain:
default: infra default: gramo
examples: examples:
- infra - gramo
type: string
domain:
default: your-company
examples:
- your-company
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string type: string
ingress-class: ingress-class:
default: traefik default: traefik
examples: examples:
- traefik - traefik
type: string type: string
cluster-admin: domain-name:
default: false default: your_company.com
examples: examples:
- false - your_company.com
type: boolean type: string
app-group:
default: infra
examples:
- infra
type: string
images: images:
default: default:
gramo: gramo:
@@ -70,26 +90,6 @@ options:
type: string type: string
type: object type: object
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
sub-domain:
default: gramo
examples:
- gramo
type: string
domain:
default: your-company
examples:
- your-company
type: string
dependencies: dependencies:
- dist: null - dist: null
category: share category: share

View File

@@ -77,15 +77,15 @@ resource "kubectl_manifest" "gramo_clusterrole" {
labels: ${jsonencode(local.common-labels)} labels: ${jsonencode(local.common-labels)}
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["namespaces","customresourcedefinitions"] resources: ["namespaces"]
verbs: ["get","list"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
resourceNames: ${jsonencode(local.sorted-namespaces)} resourceNames: ${jsonencode(local.sorted-namespaces)}
verbs: ["get"] verbs: ["get"]
- apiGroups: [""] - apiGroups: [""]
resources: ["namespaces"] resources: ["namespaces"]
verbs: ["list"] verbs: ["list"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get","list"]
EOF EOF
} }