Skip to content

Commit 426480f

Browse files
Fix typo in PAP
1 parent 65f6a0c commit 426480f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

charts/perfana-auth-proxy/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords:
77
- mTLS
88
- authentication
99
- proxy
10-
version: 0.1.7
10+
version: 0.1.8
1111
appVersion: 1.23.3-alpine
1212
maintainers:
1313
- name: Andrej van der Zee

charts/perfana-auth-proxy/templates/configmap.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ data:
2727
}
2828
2929
location ~ ^/api/(.*)$ {
30-
proxy_pass {{ trimSuffix "/" ".Values.perfanaURL" }}/api/$1$is_args$args;
30+
proxy_pass {{ trimSuffix "/" .Values.perfanaURL }}/api/$1$is_args$args;
3131
proxy_ssl_certificate_key /etc/nginx/tls-auth/tls.key;
3232
proxy_ssl_certificate /etc/nginx/tls-auth/tls.crt;
3333
proxy_ssl_server_name on;
@@ -37,7 +37,7 @@ data:
3737
}
3838
3939
location ~ ^/(mimir|influxdb)/(.*)$ {
40-
proxy_pass {{ trimSuffix "/" ".Values.perfanaURL" }}/$1/$2$is_args$args;
40+
proxy_pass {{ trimSuffix "/" .Values.perfanaURL }}/$1/$2$is_args$args;
4141
proxy_ssl_certificate_key /etc/nginx/tls-auth/tls.key;
4242
proxy_ssl_certificate /etc/nginx/tls-auth/tls.crt;
4343
proxy_ssl_server_name on;

charts/perfana-auth-proxy/templates/tests/smoketest.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ spec:
2020
args:
2121
- |
2222
echo Checking connectivity service http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}
23-
wget -O- -q --timeout=2 g--tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}
23+
wget -O- -q --timeout=2 --tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}
2424
echo
2525
2626
echo Checking connectivity {{ .Values.perfanaURL }}/api/status
27-
wget -O- -q --timeout=2 g--tries=2 {{ .Values.perfanaURL }}/api/status
27+
wget -O- -q --timeout=2 --tries=2 {{ .Values.perfanaURL }}/api/status
2828
echo
2929
3030
echo Checking matching certificate and private key
@@ -46,29 +46,29 @@ spec:
4646
export BASIC_AUTH_USERNAME={{ .Values.basicAuthSecret.username }}
4747
export BASIC_AUTH_PASSWORD={{ .Values.basicAuthSecret.password }}
4848
echo Checking connectivity to http://$BASIC_AUTH_USERNAME:*****@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/api/status
49-
wget -O- -q --timeout=2 g--tries=2 http://$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/api/status
49+
wget -O- -q --timeout=2 --tries=2 http://$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/api/status
5050
echo
5151
5252
echo Checking connectivity to http://$BASIC_AUTH_USERNAME:*****@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/mimir/api/v1/status/buildinfo
53-
wget -O- -q --timeout=2 g--tries=2 http://$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/mimir/api/v1/status/buildinfo > /dev/null
53+
wget -O- -q --timeout=2 --tries=2 http://$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/mimir/api/v1/status/buildinfo > /dev/null
5454
echo OK
5555
5656
echo Checking connectivity to http://$BASIC_AUTH_USERNAME:*****@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/influxdb/ping
57-
wget -O- -q --timeout=2 g--tries=2 http://$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/influxdb/ping
57+
wget -O- -q --timeout=2 --tries=2 http://$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD@{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/influxdb/ping
5858
echo OK
5959
6060
{{- else if not .Values.basicAuth.enabled }}
6161
6262
echo Checking connectivity to http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/api/status
63-
wget -O- -q --timeout=2 g--tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/api/status
63+
wget -O- -q --timeout=2 --tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/api/status
6464
echo
6565
6666
echo Checking connectivity to http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/mimir/api/v1/status/buildinfo
67-
wget -O- -q --timeout=2 g--tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/mimir/api/v1/status/buildinfo > /dev/null
67+
wget -O- -q --timeout=2 --tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/mimir/api/v1/status/buildinfo > /dev/null
6868
echo OK
6969
7070
echo Checking connectivity to http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/influxdb/ping
71-
wget -O- -q --timeout=2 g--tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/influxdb/ping
71+
wget -O- -q --timeout=2 --tries=2 http://{{ include "perfana-auth-proxy.fullname" . }}:{{ .Values.service.port }}/influxdb/ping
7272
echo OK
7373
{{- end }}
7474

0 commit comments

Comments
 (0)