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