clean up + selectors
This commit is contained in:
1 parent
c16cc33637
commit
4f5c150ae1
1 file changed
+3
-3
@@ -9,7 +9,7 @@ spec:
|
||||
app: {{ $k }}
|
||||
type: ClusterIP
|
||||
ports:
|
||||
{{ range $portName, $portValue := $v.ports.tcp }}
|
||||
{{- range $portName, $portValue := $v.ports.tcp }}
|
||||
- port: {{ $portValue }}
|
||||
targetPort: {{ $portValue }}
|
||||
name: "{{ $portName }}"
|
||||
@@ -32,10 +32,10 @@ metadata:
|
||||
name: {{ $k }}-exposed-ports
|
||||
spec:
|
||||
selector:
|
||||
homelab/app: scrypted
|
||||
app: {{ $k }}
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
{{ range $exPort, $inPort := $v.exposedPorts }}
|
||||
{{- range $exPort, $inPort := $v.exposedPorts }}
|
||||
- port: {{ $exPort }}
|
||||
targetPort: {{ $inPort }}
|
||||
protocol: TCP
|
||||
|
||||
Reference in new issue
Block a user