fix
This commit is contained in:
@@ -6,21 +6,6 @@ metadata:
|
||||
name: okd
|
||||
description: null
|
||||
options:
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
namespaces:
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
cluster-admin:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
images:
|
||||
default:
|
||||
okd:
|
||||
@@ -64,16 +49,16 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
namespaces:
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
type: array
|
||||
cluster-admin:
|
||||
default: false
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
- false
|
||||
type: boolean
|
||||
sub-domain:
|
||||
default: okd
|
||||
examples:
|
||||
@@ -84,11 +69,26 @@ options:
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
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
|
||||
dependencies:
|
||||
- dist: null
|
||||
category: share
|
||||
|
||||
@@ -87,7 +87,7 @@ resource "kubectl_manifest" "okd_clusterrole_bindings" {
|
||||
count = length(local.sorted-namespaces)>0 ? 1 : 0
|
||||
yaml_body = <<-EOF
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: "${var.namespace}-${var.component}-${var.instance}-list"
|
||||
namespace: "${local.sorted-namespaces[count.index]}"
|
||||
|
||||
Reference in New Issue
Block a user