crowd

by Atlassian

Helm chartv2.0.22App 7.2.6Verified publisherOfficial

A chart for installing Crowd Data Center on Kubernetes

About this chart

crowd

A chart for installing Crowd Data Center on Kubernetes

Homepage: https://atlassian.github.io/data-center-helm-charts/

Source Code

Requirements

Kubernetes: >=1.21.x-0

RepositoryNameVersion
https://atlassian.github.io/data-center-helm-chartscommon1.2.7

Values

KeyTypeDefaultDescription
additionalConfigMapslist[]Create additional ConfigMaps with given names, keys and content. Ther Helm release name will be used as a prefix for a ConfigMap name, fileName is used as subPath
additionalContainerslist[]Additional container definitions that will be added to all Crowd pods
additionalFileslist[]Additional existing ConfigMaps and Secrets not managed by Helm that should be mounted into service container. Configuration details below (camelCase is important!): 'name' - References existing ConfigMap or secret name. 'type' - 'configMap' or 'secret' 'key' - The file name. 'mountPath' - The destination directory in a container. VolumeMount and Volumes are added with this name and index position, for example; custom-config-0, keystore-2
additionalHostslist[]Additional host aliases for each pod, equivalent to adding them to the /etc/hosts file. https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
additionalInitContainerslist[]Additional initContainer definitions that will be added to all Crowd pods
additionalLabelsobject{}Additional labels that should be applied to all resources
affinityobject{}Standard K8s affinities that will be applied to all Crowd pods
atlassianAnalyticsAndSupport.analytics.enabledbooltrueMount ConfigMap with selected Helm chart values as a JSON which DC products will read and send analytics events to Atlassian data pipelines
atlassianAnalyticsAndSupport.helmValues.enabledbooltrueMount ConfigMap with selected Helm chart values as a YAML file which can be optionally including to support.zip
crowd.accessLog.enabledbooltrueSet to 'true' if access logging should be enabled.
crowd.accessLog.localHomeSubPathstring"logs"The subdirectory within the local-home volume where access logs should be stored.
crowd.accessLog.mountPathstring"/opt/atlassian/crowd/apache-tomcat/logs"The path within the Crowd container where the local-home volume should be mounted in order to capture access logs.
crowd.additionalAnnotationsobject{}Defines additional annotations to the Bamboo StateFulSet. This might be required when deploying using a GitOps approach
crowd.additionalBundledPluginslist[]Specifies a list of additional Crowd plugins that should be added to the Crowd container. Note plugins installed via this method will appear as bundled plugins rather than user plugins. These should be specified in the same manner as the 'additionalLibraries' property. Additional details: https://atlassian.github.io/data-center-helm-charts/examples/external_libraries/EXTERNAL_LIBS/ NOTE: only .jar files can be loaded using this approach. OBR's can be extracted (unzipped) to access the associated .jar An alternative to this method is to install the plugins via "Manage Apps" in the product system administration UI.
crowd.additionalCertificatesobject{"customCmd":null,"initContainer":{"resources":{},"securityContext":{}},"secretList":[],"secretName":null}Certificates to be added to Java truststore. Provide reference to a secret that contains the certificates
crowd.additionalCertificates.customCmdstringnilCustom command to be executed in the init container to import certificates
crowd.additionalCertificates.initContainer.resourcesobject{}Resources allocated to the import-certs init container
crowd.additionalCertificates.initContainer.securityContextobject{}Custom SecurityContext for the import-certs init container
crowd.additionalCertificates.secretListlist[]A list of secrets with their respective keys holding certificates to be added to the Java truststore. It is mandatory to specify which keys from secret data need to be mounted as files to the init container
crowd.additionalCertificates.secretNamestringnilName of the Kubernetes secret with certificates in its data. All secret keys in the secret data will be treated as certificates to be added to Java truststore. If defined, this takes precedence over secretList.
crowd.additionalEnvironmentVariableslist[]Defines any additional environment variables to be passed to the Crowd container. See https://hub.docker.com/r/atlassian/crowd for supported variables.
crowd.additionalJvmArgslist[]Specifies a list of additional arguments that can be passed to the Crowd JVM, e.g. system properties.
crowd.additionalLibrarieslist[]Specifies a list of additional Java libraries that should be added to the Crowd container. Each item in the list should specify the name of the volume that contains the library, as well as the name of the library file within that volume's root directory. Optionally, a subDirectory field can be included to specify which directory in the volume contains the library file. Additional details: https://atlassian.github.io/data-center-helm-charts/examples/external_libraries/EXTERNAL_LIBS/
crowd.additionalPortslist[]Defines any additional ports for the Crowd container.
crowd.additionalVolumeClaimTemplateslist[]Defines additional volumeClaimTemplates that should be applied to the Crowd pod. Note that this will not create any corresponding volume mounts; those needs to be defined in crowd.additionalVolumeMounts
crowd.additionalVolumeMountslist[]Defines any additional volumes mounts for the Crowd container. These can refer to existing volumes, or new volumes can be defined in volumes.additional.
crowd.containerSecurityContextobject{}Standard K8s field that holds security configurations that will be applied to a container. https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
crowd.livenessProbe.customProbeobject{}Custom livenessProbe to override the default tcpSocket probe
crowd.livenessProbe.enabledboolfalseWhether to apply the livenessProbe check to pod.
crowd.livenessProbe.failureThresholdint12The number of consecutive failures of the Crowd container liveness probe before the pod fails liveness checks.
crowd.livenessProbe.initialDelaySecondsint60Time to wait before starting the first probe
crowd.livenessProbe.periodSecondsint5How often (in seconds) the Crowd container liveness probe will run
crowd.livenessProbe.timeoutSecondsint1Number of seconds after which the probe times out
crowd.ports.httpint8095The port on which the Crowd container listens for HTTP traffic
crowd.postStartobject{"command":null}PostStart is executed immediately after a container is created. However, there is no guarantee that the hook will execute before the container ENTRYPOINT. See: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
crowd.readinessProbe.customProbeobject{}Custom readinessProbe to override the default /status httpGet
crowd.readinessProbe.enabledbooltrueWhether to apply the readinessProbe check to pod.
crowd.readinessProbe.failureThresholdint10The number of consecutive failures of the Crowd container readiness probe before the pod fails readiness checks.
crowd.readinessProbe.initialDelaySecondsint10The initial delay (in seconds) for the Crowd container readiness probe, after which the probe will start running.
crowd.readinessProbe.periodSecondsint5How often (in seconds) the Crowd container readiness probe will run
crowd.readinessProbe.timeoutSecondsint1Number of seconds after which the probe times out
crowd.resources.container.requests.cpustring"2"Initial CPU request by Crowd pod
crowd.resources.container.requests.memorystring"1G"Initial Memory request by Crowd pod
crowd.resources.jvm.maxHeapstring"768m"The maximum amount of heap memory that will be used by the Crowd JVM
crowd.resources.jvm.minHeapstring"384m"The minimum amount of heap memory that will be used by the Crowd JVM
crowd.securityContext.fsGroupint2004The GID used by the Crowd docker image GID will default to 2004 if not supplied and securityContextEnabled is set to true. This is intended to ensure that the shared-home volume is group-writeable by the GID used by the Crowd container. However, this doesn't appear to work for NFS volumes due to a K8s bug: https://github.com/kubernetes/examples/issues/260
crowd.securityContext.fsGroupChangePolicystring"OnRootMismatch"fsGroupChangePolicy defines behavior for changing ownership and permission of the volume before being exposed inside a Pod. This field only applies to volume types that support fsGroup controlled ownership and permissions. https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods
crowd.securityContextEnabledbooltrueWhether to apply security context to pod.
crowd.service.annotationsobject{}Additional annotations to apply to the Service
crowd.service.contextPathstring"/crowd"The Tomcat context path that Crowd will use. The ATL_TOMCAT_CONTEXTPATH will be set automatically.
crowd.service.externalTrafficPolicystringnilThe external traffic policy for the Service. Set to "Local" to preserve the client source IP (e.g. for audit logging or when fronted by an AWS ALB/NLB with instance/NodePort targets). Only applied when service.type is "NodePort" or "LoadBalancer"; ignored for ClusterIP, where Kubernetes rejects this field.
crowd.service.loadBalancerIPstringnilUse specific loadBalancerIP. Only applies to service type LoadBalancer.
crowd.service.nodePortstringnilOnly applicable if service.type is NodePort. NodePort for Crowd service
crowd.service.portint80The port on which the Crowd K8s Service will listen
crowd.service.sessionAffinitystring"None"Session affinity type. If you want to make sure that connections from a particular client are passed to the same pod each time, set sessionAffinity to ClientIP. See: https://kubernetes.io/docs/reference/networking/virtual-ips/#session-affinity
crowd.service.sessionAffinityConfigobject{"clientIP":{"timeoutSeconds":null}}Session affinity configuration
crowd.service.sessionAffinityConfig.clientIP.timeoutSecondsstringnilSpecifies the seconds of ClientIP type session sticky time. The value must be > 0 && <= 86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800 (for 3 hours).
crowd.service.typestring"ClusterIP"The type of K8s service to use for Crowd. For loadBalancer type, deselect the consistent client IP address in Crowd Session configuration. Read more: https://atlassian.github.io/data-center-helm-charts/troubleshooting/LIMITATIONS/#loadbalancer-service-type
crowd.setPermissionsbooltrueBoolean to define whether to set local home directory permissions on startup of Crowd container. Set to 'false' to disable this behaviour.
crowd.shutdown.commandstring"/shutdown-wait.sh"By default pods will be stopped via a preStop hook, using a script supplied by the Docker image. If any other shutdown behaviour is needed it can be achieved by overriding this value. Note that the shutdown command needs to wait for the application shutdown completely before exiting; see the default command for details.
crowd.shutdown.terminationGracePeriodSecondsint30The termination grace period for pods during shutdown. This should be set to the internal grace period, plus a small buffer to allow the JVM to fully terminate.
crowd.startupProbe.enabledboolfalseWhether to apply the startupProbe check to pod.
crowd.startupProbe.failureThresholdint120The number of consecutive failures of the Crowd container startup probe before the pod fails startup checks.
crowd.startupProbe.initialDelaySecondsint60Time to wait before starting the first probe
crowd.startupProbe.periodSecondsint5How often (in seconds) the Crowd container startup probe will run
crowd.tomcatConfig.acceptCountstring"100"
crowd.tomcatConfig.accessLogsMaxDaysstring"-1"
crowd.tomcatConfig.connectionTimeoutstring"20000"
crowd.tomcatConfig.enableLookupsstring"false"
crowd.tomcatConfig.generateByHelmboolfalseMount server.xml as a ConfigMap. Override configuration elements if necessary
crowd.tomcatConfig.maxHttpHeaderSizestring"8192"
crowd.tomcatConfig.maxThreadsstring"150"
crowd.tomcatConfig.mgmtPortst

Deploy crowd with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has crowd on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcrowd is pinned at v2.0.22 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply