Skip to content

Commit

Permalink
schema tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
junior committed Jun 3, 2020
1 parent 2c50d44 commit be3d5cb
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions deploy/complete/terraform/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ variableGroups:
- node_pool_shape
- num_pool_workers
- node_pool_name
visible: true
visible: #($create_new_oke_cluster = true)
and:
- create_new_oke_cluster
- title: "Add Ons"
variables:
- cluster_options_add_ons_is_kubernetes_dashboard_enabled
Expand Down Expand Up @@ -109,20 +111,20 @@ variables:
existent_oke_cluster_id:
type: string
title: "OKE Cluster id"
description: "Cluster id of the existent OKE"
description: "Cluster Id of the existent OKE"
required: true
visible: #($create_new_oke_cluster = false)
not:
- create_new_oke_cluster
- create_new_oke_cluster

cluster_name:
type: string
title: "Cluster Name Prefix"
description: "OKE cluster name prefix"
required: true
visible: #($create_new_oke_cluster = false)
visible: #($create_new_oke_cluster = true)
and:
- create_new_oke_cluster
- create_new_oke_cluster

k8s_version:
type: enum
Expand All @@ -132,6 +134,9 @@ variables:
title: "Kubernetes Version"
description: "Kubernetes version installed on your master and worker nodes"
required: true
visible: #($create_new_oke_cluster = true)
and:
- create_new_oke_cluster

cluster_visibility:
type: enum
Expand All @@ -141,6 +146,9 @@ variables:
title: "Choose visibility type"
description: "The Kubernetes worker nodes that are created will be hosted in public or private subnet(s)"
required: true
visible: #($create_new_oke_cluster = true)
and:
- create_new_oke_cluster

node_pool_shape:
type: oci:core:instanceshape:name
Expand Down Expand Up @@ -171,6 +179,9 @@ variables:
cluster_options_add_ons_is_kubernetes_dashboard_enabled:
type: boolean
title: "Kubernetes Dashboard Enabled"
visible: #($create_new_oke_cluster = true)
and:
- create_new_oke_cluster

# Advanced Options
show_advanced:
Expand Down

0 comments on commit be3d5cb

Please sign in to comment.