Files
charts/.vib/flink/goss/goss.yaml
Felipe V.C. Serafim da68be8e95 Add copyright header (#17300)
* 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>
2023-06-26 10:28:56 +02:00

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