Puppet Function: k8s::fetch_cluster_groups

Defined in:
modules/k8s/functions/fetch_cluster_groups.pp
Function type:
Puppet Language

Overview

k8s::fetch_cluster_groups()Hash[String, Hash[String, K8s::ClusterConfig]]

SPDX-License-Identifier: Apache-2.0 This function returns the kubernetes clusters from hiera by cluster_group

Returns:



3
4
5
6
7
# File 'modules/k8s/functions/fetch_cluster_groups.pp', line 3

function k8s::fetch_cluster_groups () >> Hash[String, Hash[String, K8s::ClusterConfig]] {
  include k8s::clusters

  $k8s::clusters::by_group
}