-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.tf
6 lines (6 loc) · 1.26 KB
/
data.tf
1
2
3
4
5
6
locals {
oidc_config = var.external_oidc_provider != null ? { "oidc.externalOIDC.enabled" = "true", "oidc.externalOIDC.endpoint" = var.external_oidc_provider.endpoint, "oidc.externalOIDC.clientID" = var.external_oidc_provider.client_id, "oidc.externalOIDC.clientSecret" = var.external_oidc_provider.client_secret } : {}
custom_image_registry_config = var.custom_image_registry != null ? ["pxcentralApiServerImage", "pxcentralFrontendImage", "pxcentralBackendImage", "pxcentralMiddlewareImage", "postInstallSetupImage", "keycloakBackendImage", "keycloakFrontendImage", "keycloakLoginThemeImage", "keycloakInitContainerImage", "mysqlImage", "pxBackupImage", "mongodbImage", "licenseServerImage", "cortexImage", "cassandraImage", "proxyConfigImage", "consulImage", "dnsmasqImage", "grafanaImage", "prometheusImage", "prometheusConfigReloadrImage", "prometheusOperatorImage", "memcachedMetricsImage", "memcachedIndexImage", "memcachedImage"] : []
px_monitor_config = var.px_monitor_config.enable ? { "pxmonitor.enabled" = "true", "installCRDs" = "true", "pxmonitor.pxCentralEndpoint" = var.px_monitor_config.px_central_ui_endpoint } : { "pxmonitor.enabled" = "false" }
px_backup_custom_image = var.px_backup_custom_image != null ? ["pxBackupImage"] : []
}