Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bork91 authored Aug 13, 2024
1 parent 4bd3435 commit 321e90c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions openid/templates/netpol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ spec:
{{- range $netpolKey, $netpolValue := $value.namespaceSelector}}
{{$netpolKey}}: {{$netpolValue}}
{{- end }}
{{- if ($value.podSelector) }}
podSelector:
matchLabels:
{{- end }}
{{- range $netpolKey, $netpolValue := $value.podSelector }}
{{$netpolKey}}: {{$netpolValue}}
{{- end }}
{{- if ($value.podSelector) }}
podSelector:
matchLabels:
{{- end }}
{{- range $netpolKey, $netpolValue := $value.podSelector }}
{{$netpolKey}}: {{$netpolValue}}
{{- end }}
{{- if ($value.ipBlock) }}
- ipBlock:
cidr: {{ $value.ipBlock }}
Expand Down Expand Up @@ -94,4 +94,4 @@ spec:
ports:
- port: 8089
protocol: TCP
{{- end }}
{{- end }}

0 comments on commit 321e90c

Please sign in to comment.