class Fabric8ProfileEnvironmentPostProcessor extends AbstractKubernetesProfileEnvironmentPostProcessor {

	@Override
	protected boolean isInsideKubernetes(Environment environment) {<FILL_FUNCTION_BODY>}

}


		try (KubernetesClient client = new KubernetesClientBuilder().build()) {
			Fabric8PodUtils podUtils = new Fabric8PodUtils(client);
			return environment.containsProperty(Fabric8PodUtils.KUBERNETES_SERVICE_HOST)
					|| podUtils.isInsideKubernetes();
		}
	
<methods>public non-sealed void <init>() ,public int getOrder() ,public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment, org.springframework.boot.SpringApplication) <variables>public static final java.lang.String KUBERNETES_PROFILE,private static final org.springframework.boot.logging.DeferredLog LOG,private static final java.lang.String NAMESPACE_PATH_PROPERTY,protected static final java.lang.String NAMESPACE_PROPERTY,private static final int ORDER,private static final java.lang.String PROPERTY_SOURCE_NAME