mirror of
https://github.com/bitnami/charts.git
synced 2026-03-18 15:27:16 +08:00
* Add copyright header Signed-off-by: sfelipe <sfelipe@vmware.com> * Remove copyright from vib runtime_parameters files Signed-off-by: sfelipe <sfelipe@vmware.com> * Add copyright header for pinniped-auth.sh Signed-off-by: sfelipe <sfelipe@vmware.com> * Update templates copyright header format Signed-off-by: sfelipe <sfelipe@vmware.com> --------- Signed-off-by: sfelipe <sfelipe@vmware.com>
25 lines
1.0 KiB
YAML
25 lines
1.0 KiB
YAML
# Copyright VMware, Inc.
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
addr:
|
|
# Container ports
|
|
tcp://localhost:{{ .Vars.jobmanager.containerPorts.rpc }}:
|
|
reachable: true
|
|
tcp://localhost:{{ .Vars.jobmanager.containerPorts.blob }}:
|
|
reachable: true
|
|
tcp://localhost:{{ .Vars.jobmanager.containerPorts.http }}:
|
|
reachable: true
|
|
# LB reachability
|
|
tcp://flink-jobmanager:{{ .Vars.jobmanager.service.ports.blob }}:
|
|
reachable: true
|
|
tcp://flink-taskmanager:{{ .Vars.taskmanager.service.ports.rpc }}:
|
|
reachable: true
|
|
command:
|
|
{{- $uid := .Vars.jobmanager.containerSecurityContext.runAsUser }}
|
|
{{- $gid := .Vars.jobmanager.podSecurityContext.fsGroup }}
|
|
check-user-info:
|
|
# The UID and GID should always be either the one specified as vars (always a bigger number that the default)
|
|
# or the one randomly defined by openshift (larger values). Otherwise, the chart is still using the default value.
|
|
exec: if [ $(id -u) -lt {{ $uid }} ] || [ $(id -G | awk '{print $2}') -lt {{ $gid }} ]; then exit 1; fi
|
|
exit-status: 0
|