Provides a Hive cell for configuring Cilium agent pod namespace and label selector.
// Source: https://github.com/cilium/cilium | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. // SPDX-License-Identifier: Apache-2.0 // Copyright Authors of Cilium // Package ciliumpod provides a shared configuration identifying the Cilium // agent pods in the cluster (namespace and label selector). package ciliumpod import ( "cmp" "fmt" "github.com/cilium/hive/cell" "github.com/spf13/pflag" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/cilium/cilium/pkg/k8s/slim/k8s/apis/labels" "github.com/cilium/cilium/pkg/option" ) // Cell registers the shared Cilium-pod configuration. var Cell = cell.Module( "cilium-pod-config", "Configuration identifying the Cilium ag ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key