Skip to content

Commit 5d6e03d

Browse files
committed
fix: fix deployment ip allow and block lists
1 parent ce0a58c commit 5d6e03d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

charts/tinyauth/templates/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ spec:
8080
value: {{ .Values.tinyauth.server.socketPath | quote }}
8181
{{- end }}
8282
# auth config
83-
{{- if .Values.tinyauth.auth.ipAllow }}
83+
{{- if .Values.tinyauth.auth.ip.allow }}
8484
- name: TINYAUTH_AUTH_IP_ALLOW
85-
value: {{ .Values.tinyauth.auth.ipAllow | quote }}
85+
value: {{ .Values.tinyauth.auth.ip.allow | quote }}
8686
{{- end }}
87-
{{- if .Values.tinyauth.auth.ipBlock }}
87+
{{- if .Values.tinyauth.auth.ip.block }}
8888
- name: TINYAUTH_AUTH_IP_BLOCK
89-
value: {{ .Values.tinyauth.auth.ipBlock | quote }}
89+
value: {{ .Values.tinyauth.auth.ip.block | quote }}
9090
{{- end }}
9191
{{- if .Values.tinyauth.auth.users }}
9292
- name: TINYAUTH_AUTH_USERS

charts/tinyauth/templates/httproute.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- if .Values.httpRoute.enabled -}}
2-
apiVersion: gateway.networking.k8s.io/v1beta1
2+
apiVersion: gateway.networking.k8s.io/v1
33
kind: HTTPRoute
44
metadata:
55
name: {{ include "tinyauth.fullname" . }}-httproute
@@ -24,4 +24,4 @@ spec:
2424
- name: {{ include "tinyauth.fullname" $ }}
2525
port: {{ $.Values.service.port }}
2626
{{- end }}
27-
{{- end }}
27+
{{- end }}

0 commit comments

Comments
 (0)