/// <summary> /// Static constructor. /// </summary> static Pod() { // Initializes these properties from environment variables when we're running // in a cluster, otherwise configure test values when running on workstation. if (NeonHelper.IsDevWorkstation) { Namespace = "default"; Name = KubeHelper.GetEmulatedPodName("neon-cluster-operator"); } else { Namespace = Environment.GetEnvironmentVariable("POD_NAMESPACE"); Name = Environment.GetEnvironmentVariable("POD_NAME"); } }