radar-self-enrolment-ui

by RADAR-Base

Helm chartv0.4.2App 0.1.0Apache-2.0Verified publisher

A Helm chart for RADAR-base Self Enrolment UI

About this chart

radar-self-enrolment-ui

A Helm chart for RADAR-base Self Enrolment UI

Homepage: https://radar-base.org

Maintainers

NameEmailUrl
Yatharth Ranjan[email protected]https://www.kcl.ac.uk/people/yatharth-ranjan
Pauline Conde[email protected]https://www.kcl.ac.uk/people/pauline-conde

Source Code

Prerequisites

  • Kubernetes 1.28+
  • Kubectl 1.28+
  • Helm 3.1.0+
  • metrics-server is required in the cluster when HPA is enabled (hpa.enabled=true)

Requirements

RepositoryNameVersion
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
server_namestring"localhost"Hostname for the Self-Enrolment Portal service
replicaCountint1Number of replicas in deployment
revisionHistoryLimitint5Number of revisions kept in history
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/radar-self-enrolment-ui"Image repository
image.tagstringnilImage tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion.
image.digeststring""Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName
nameOverridestring""String to partially override radar-self-enrolment-ui.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override radar-self-enrolment-ui.fullname template with a string
config.csrfCookieNamestring"radar_csrf"
config.secretsobject{}
service.typestring"ClusterIP"
service.loadBalancerIPstring""The load balancer IP
service.nodePortstring""
service.portint80
service.namestring"http"The service port name. Useful to set a custom service port name if it must follow a scheme (e.g. Istio)
secret.enabledbooltrueswitch to false to prevent creating the secret
secret.nameOverridestring""Provide custom name of existing secret, or custom name of secret to be created
secret.secretAnnotationsobject{"helm.sh/hook":"pre-install, pre-upgrade","helm.sh/hook-delete-policy":"before-hook-creation","helm.sh/hook-weight":"0","helm.sh/resource-policy":"keep"}Annotations to be added to secret. Annotations are added only when secret is being created. Existing secret will not be modified.
secret.hashSumEnabledbooltrueswitch to false to prevent checksum annotations being maintained and propagated to the pods
disable_tlsboolfalseReconfigure Ingress to not force TLS
advertised_protocolstring"https"The protocol in URIs (https, http)
ingress.enabledbooltrueEnable ingress controller resource
ingress.annotationsobjectcheck values.yamlAnnotations that define default ingress class, certificate issuer
ingress.pathstring`"/study(/$)(.*)"`
ingress.pathTypestring"ImplementationSpecific"Ingress Path type
ingress.ingressClassNamestring"nginx"IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
ingress.hostslist["{{ .Values.server_name }}"]Hosts to accept requests from
ingress.tls.secretNamestring"radar-base-tls"TLS Secret Name
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystemboolfalse
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint10000
securityContext.runAsGroupint10000
securityContext.allowPrivilegeEscalationboolfalse
securityContext.privilegedboolfalse
securityContext.seccompProfile.typestring"RuntimeDefault"
securityContext.seLinuxOptions.levelstring"s0:c123,c456"
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
podSecurityContext.runAsNonRootbooltrue
podSecurityContext.runAsUserint10000
podSecurityContext.fsGroupint10000
podSecurityContext.runAsGroupint10000
podSecurityContext.seccompProfile.typestring"RuntimeDefault"
deployment.resourcesobject{}
deployment.extraEnvstringnilArray of extra envs to be passed to the deployment. Kubernetes format is expected - name: FOO value: BAR
deployment.extraVolumeslist[]If you want to mount external volume For example, mount a secret containing Certificate root CA to verify database TLS connection.
deployment.extraVolumeMountslist[]
deployment.nodeSelectorobject{}Node labels for pod assignment.
deployment.tolerationslist[]Configure node tolerations.
deployment.topologySpreadConstraintslist[]Configure pod topologySpreadConstraints.
deployment.dnsConfigobject{}Configure pod dnsConfig.
deployment.labelsobject{}
deployment.annotationsobject{}
deployment.automountServiceAccountTokenboolfalse
deployment.terminationGracePeriodSecondsint60
affinityobject{}
customLivenessProbeobject{}Custom livenessProbe that overrides the default one
livenessProbe.enabledboolfalseEnable livenessProbe
livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint30Period seconds for livenessProbe
livenessProbe.timeoutSecondsint5Timeout seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.failureThresholdint3Failure threshold for livenessProbe
customReadinessProbeobject{}Custom readinessProbe that overrides the default one
readinessProbe.enabledboolfalseEnable readinessProbe
readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint30Period seconds for readinessProbe
readinessProbe.timeoutSecondsint10Timeout seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.failureThresholdint3Failure threshold for readinessProbe
customStartupProbeobject{}Custom startupProbe that overrides the default one
startupProbe.enabledboolfalseEnable startupProbe
startupProbe.initialDelaySecondsint5Initial delay seconds for startupProbe
startupProbe.periodSecondsint10Period seconds for startupProbe
startupProbe.timeoutSecondsint10Timeout seconds for startupProbe
startupProbe.successThresholdint1Success threshold for startupProbe
startupProbe.failureThresholdint30Failure threshold for startupProbe
networkpolicyobjectcheck values.yamlNetwork policy defines who can access this application and who this applications has access to
basePathstring"study"
auth.armt.clientIdstring"aRMT"
auth.armt.clientSecretstring""
auth.armt.redirectUristring"{{ .Values.advertised_protocol }}://{{ .Values.server_name }}/{{ .Values.basePath }}/connect/armt"
auth.prmt.clientIdstring"pRMT"
auth.prmt.clientSecretstring""
auth.prmt.redirectUristring"{{ .Values.advertised_protocol }}://{{ .Values.server_name }}/{{ .Values.basePath }}/connect/prmt"
auth.sep.clientIdstring"SEP"
auth.sep.clientSecretstring""
auth.sep.redirectUristring"{{ .Values.advertised_protocol }}://{{ .Values.server_name }}/{{ .Values.basePath }}/connect/sep"
kratos.internalUrlstring"http://radar-kratos-public:80"
kratos.adminUrlstring"http://radar-kratos-admin/admin"
hydra.internalUrlstring"http://radar-hydra-public:4444"
hydra.adminUrlstring"http://radar-hydra-admin:4445/admin"
hydra.browserUrlstring"{{ .Values.advertised_protocol }}://{{ .Values.server_name }}/hydra"
rest_sources_auth.backendUrlstring"http://radar-rest-sources-backend:8080/rest-sources/backend"
rest_sources_auth.frontendUrlstring"{{ .Values.advertised_protocol }}://{{ .Values.server_name }}/rest-sources/authorizer/"
github.authTokenstring""
github.repositorystring"radar-self-enrolment-definitions"
gatewayUrlstring"http://radar-gateway:8080"
studyDefinitionRepositorystring"LOCAL"
managementportal_urlstring"http://management-portal:8080/managementportal"
test.busyboxobject{"repository":"busybox","tag":1}use a busybox image from another repository
podDisruptionBudget.enabledboolfalseEnable Pod Disruption Budget
podDisruptionBudget.minAvailableint1Minimum number of pods that must be available during disruptions
podDisruptionBudget.maxUnavailablestringnilMaximum number of pods that can be unavailable during disruptions
hpa.enabledboolfalseEnable HPA
hpa.maxReplicasint5Maximum number of replicas
hpa.targetCPUint80Target CPU utilization percentage
hpa.targetMemorystringnilTarget Memory utilization percentage

radar-self-enrolment-ui

A Helm chart for RADAR-base Self Enrolment UI

Homepage: https://radar-base.org

Maintainers

NameEmailUrl
Yatharth Ranjan[email protected]https://www.kcl.ac.uk/people/yatharth-ranjan
Pauline Conde[email protected]https://www.kcl.ac.uk/people/pauline-conde

Source Code

Requirements

RepositoryNameVersion
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
server_namestring"localhost"Hostname for the Self-Enrolment Portal service
replicaCountint1Number of replicas in deployment
revisionHistoryLimitint5Number of revisions kept in history
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/radar-self-enrolment-ui"Image repository
image.tagstringnilImage tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion.
image.digeststring""Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName
nameOverridestring""String to partially override radar-self-enrolment-ui.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override radar-self-enrolment-ui.fullname template with a string
config.csrfCookieNamestring"radar_csrf"
config.secretsobject{}
service.typestring"ClusterIP"
service.loadBalancerIPstring""The load balancer IP
service.nodePortstring""
service.portint80
service.namestring"http"The service port name. Useful to set a custom service port name if it must follow a scheme (e.g. Istio)
secret.enabledbooltrueswitch to false to prevent creating the secret
secret.nameOverridestring""Provide custom name of existing secret, or custom name of secret to be created
secret.secretAnnotationsobject{"helm.sh/hook":"pre-install, pre-upgrade","helm.sh/hook-delete-policy":"before-hook-creation","helm.sh/hook-weight":"0","helm.sh/resource-policy":"keep"}Annotations to be added to secret. Annotations are added only when secret is being created. Existing secret will not be modified.
secret.hashSumEnabledbooltrueswitch to false to prevent checksum annotations being maintained and propagated to the pods
disable_tlsboolfalseReconfigure Ingress to not force TLS
advertised_protocolstring"https"The protocol in URIs (https, http)
ingress.enabledbooltrueEnable ingress controller resource
ingress.annotationsobjectcheck values.yamlAnnota

Deploy radar-self-enrolment-ui with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radar-self-enrolment-ui 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 chartradar-self-enrolment-ui is pinned at v0.4.2 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