Sha256: 17ca4d2c7c6eb584cb212ed22c618d642beaf2b9ce97426b7bbff2ee0599c1a7
Contents?: true
Size: 484 Bytes
Versions: 7
Compression:
Stored size: 484 Bytes
Contents
{{- $initialValue := int .Values.gameserver.port.first }} {{- $finalValue := add .Values.gameserver.port.last 1 }} {{- $finalValue = int $finalValue }} {{- range untilStep $initialValue $finalValue 1 }} {{- $port := . }} apiVersion: v1 kind: Service metadata: name: gameserver-{{ $port }} spec: selector: app: gameserver component: gameserver-{{ $port }} ports: - protocol: TCP port: {{ $port }} targetPort: {{ $port }} type: ClusterIP --- {{- end }}
Version data entries
7 entries across 7 versions & 1 rubygems