Documentation ¶
Overview ¶
"github.com/rook/rook/pkg/operator/k8sutil"
Index ¶
Constants ¶
View Source
const ( // Namespace for rook Namespace = "rook" // DefaultNamespace for the cluster DefaultNamespace = "default" // DataDirVolume data dir volume DataDirVolume = "rook-data" // DataDir folder DataDir = "/var/lib/rook" // RookType for the CRD RookType = "kubernetes.io/rook" // PodNameEnvVar is the env variable for getting the pod name via downward api PodNameEnvVar = "POD_NAME" // PodNamespaceEnvVar is the env variable for getting the pod namespace via downward api PodNamespaceEnvVar = "POD_NAMESPACE" // NodeNameEnvVar is the env variable for getting the node via downward api NodeNameEnvVar = "NODE_NAME" )
Variables ¶
This section is empty.
Functions ¶
func GetContainerImage ¶
func GetContainerImage(clientset kubernetes.Interface) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.