# Functions
CorePodSecurityContextToHelm converts pod security context format for Helm Values NOTE: SecurityContext doens't have fsGroup (PodSecurityContext has fsGroup).
CreateSelfSignedCert will create a random self signed certificate.
CRUDServiceOrRoute will create or update Black Duck exposed service or route in case of OpenShift.
FlagWasSet returns true if a flag was changed and it exists, otherwise it returns false.
GetCertificateSecret get the webserver or nginx certificate secret from file bytes.
GetCertificateSecretFromFile generates secret from file.
GetCertsFromFlagsAndSetHelmValue converts synopsysctl certificate files to kube secrets.
GetDefaultFlagTree ...
GetSecret get the secret from file bytes.
ImageRegistryIsSet checks if imageRegistries contains and image with the name imageName.
NewHelmValuesFromCobraFlags creates a new HelmValuesFromCobraFlags type.
OperatorAffinityToHelm ...
OperatorAPISecurityContextToHelm converts security context format for Helm Values NOTE: SecurityContext doens't have fsGroup (PodSecurityContext has fsGroup).
SetBlackDuckImageRegistriesInHelmValuesMap uses the image name to set the registry and tag in the Helm Chart for each image in imageRegistries.
# Variables
DefaultFlagTree ..
# Structs
FlagTree is a set of fields needed to configure the Blackduck Helm Chart.
HelmValuesFromCobraFlags is a type for converting synopsysctl flags to Helm Chart fields and values args: map of helm chart field to value.