Documentation ¶
Index ¶
- Constants
- Variables
- func DebugLog(logger logr.Logger, msg string, keysAndValues ...interface{})
- func GetCaddyImage(env *crd.ClowdEnvironment) string
- func GetClowderNamespace() (string, error)
- func GetKeycloakImage(env *crd.ClowdEnvironment) string
- func GetKeycloakVersion(env *crd.ClowdEnvironment) string
- func GetMockBOPImage(env *crd.ClowdEnvironment) string
- func GetMocktitlementsImage(env *crd.ClowdEnvironment) string
- func MakeLocalDB(dd *apps.Deployment, nn types.NamespacedName, baseResource obj.ClowdObject, ...)
- func MakeLocalDBPVC(pvc *core.PersistentVolumeClaim, nn types.NamespacedName, ...)
- func MakeLocalDBService(s *core.Service, nn types.NamespacedName, baseResource obj.ClowdObject, ...)
Constants ¶
View Source
const RCharSet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
Variables ¶
View Source
var DefaultImageCaddySideCar = "quay.io/cloudservices/crc-caddy-plugin:1c4882e"
View Source
var DefaultImageKeyCloak = fmt.Sprintf("quay.io/keycloak/keycloak:%s", DefaultKeyCloakVersion)
View Source
var DefaultImageMBOP = "quay.io/cloudservices/mbop:bb071db"
View Source
var DefaultImageMocktitlements = "quay.io/cloudservices/mocktitlements:e24820c"
View Source
var DefaultKeyCloakVersion = "15.0.2"
View Source
var KubeLinterAnnotations = map[string]string{
"ignore-check.kube-linter.io/no-liveness-probe": "probes not required on Job pods",
"ignore-check.kube-linter.io/no-readiness-probe": "probes not required on Job pods",
}
Functions ¶
func GetCaddyImage ¶ added in v0.42.0
func GetCaddyImage(env *crd.ClowdEnvironment) string
GetCaddyImage returns the caddy image to use in a given environment
func GetClowderNamespace ¶ added in v0.43.0
func GetKeycloakImage ¶ added in v0.42.0
func GetKeycloakImage(env *crd.ClowdEnvironment) string
GetKeycloakImage returns the keycloak image to use in a given environment
func GetKeycloakVersion ¶ added in v0.42.0
func GetKeycloakVersion(env *crd.ClowdEnvironment) string
GetKeycloakVersion returns the keycloak version to use in a given environment
func GetMockBOPImage ¶ added in v0.42.0
func GetMockBOPImage(env *crd.ClowdEnvironment) string
GetMockBOPImage returns the mock BOP image to use in a given environment
func GetMocktitlementsImage ¶ added in v0.42.0
func GetMocktitlementsImage(env *crd.ClowdEnvironment) string
GetMocktitlementsImage returns the mocktitlements image to use in a given environment
func MakeLocalDB ¶
func MakeLocalDB(dd *apps.Deployment, nn types.NamespacedName, baseResource obj.ClowdObject, extraLabels *map[string]string, cfg *config.DatabaseConfig, image string, usePVC bool, dbName string, res *core.ResourceRequirements)
MakeLocalDB populates the given deployment object with the local DB struct.
func MakeLocalDBPVC ¶
func MakeLocalDBPVC(pvc *core.PersistentVolumeClaim, nn types.NamespacedName, baseResource obj.ClowdObject, capacity string)
MakeLocalDBPVC populates the given PVC object with the local DB struct.
func MakeLocalDBService ¶
func MakeLocalDBService(s *core.Service, nn types.NamespacedName, baseResource obj.ClowdObject, extraLabels *map[string]string)
MakeLocalDBService populates the given service object with the local DB struct.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.