All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.galasa.kubernetes.internal.properties.KubernetesValidateCertificate Maven / Gradle / Ivy

There is a newer version: 0.34.0
Show newest version
/*
 * Licensed Materials - Property of IBM
 * 
 * (c) Copyright IBM Corp. 2020.
 */
package dev.galasa.kubernetes.internal.properties;

import dev.galasa.framework.spi.cps.CpsProperties;
import dev.galasa.kubernetes.KubernetesManagerException;
import dev.galasa.kubernetes.internal.KubernetesClusterImpl;


/**
 * Kubernetes Validate Cluster Certificate CPS Property
 * 
 * @galasa.cps.property
 * 
 * @galasa.name kubernetes.cluster.[XXXX.]validate.certificate
 * 
 * @galasa.description Validates the Kubernetes Cluster API Certificate 
 * 
 * @galasa.required No
 * 
 * @galasa.default true
 * 
 * @galasa.valid_values true or false
 * 
 * @galasa.examples 
 * kubernetes.cluster.K8S.validate.certificate=false
* kubernetes.cluster.validate.certificate=true
* */ public class KubernetesValidateCertificate extends CpsProperties { public static boolean get(KubernetesClusterImpl cluster) throws KubernetesManagerException { return Boolean.parseBoolean(getStringWithDefault(KubernetesPropertiesSingleton.cps(), "true", "cluster", "validate.certificate", cluster.getId())); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy