network Policy Config
Parameters
value
Whether we should enable the network policy addon for the master. This must be enabled in order to enable network policy for the nodes. To enable this, you must also define a network_policy
block, otherwise nothing will happen. It can only be disabled if the nodes already do not have network policies enabled. Defaults to disabled; set disabled = false
to enable.
suspend fun networkPolicyConfig(argument: suspend ClusterAddonsConfigNetworkPolicyConfigArgsBuilder.() -> Unit)
Parameters
argument
Whether we should enable the network policy addon for the master. This must be enabled in order to enable network policy for the nodes. To enable this, you must also define a network_policy
block, otherwise nothing will happen. It can only be disabled if the nodes already do not have network policies enabled. Defaults to disabled; set disabled = false
to enable.