Skip to content

Commit

Permalink
Blockscout: rc1staging basic auth (#10100)
Browse files Browse the repository at this point in the history
  • Loading branch information
shazarre authored Jan 9, 2023
1 parent ebf81fe commit be1dd5f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ metadata:
location ~ /address/(.*)/coin_balances {
return 301 /address/$1/coin-balances;
}
{{- if .Values.blockscout.web.basicAuth.enabled }}
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: {{ .Release.Name }}-web-basic-auth
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required'
{{- end }}
spec:
ingressClassName: {{ default "nginx" .Values.ingressClassName }}
tls:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ blockscout:
enabled: true
reportUrl: '{"overview": "https://datastudio.google.com/embed/reporting/60bea1af-3e82-4eb0-a313-158582baa710/page/hDehC?hl=en", "addresses":"https://datastudio.google.com/embed/reporting/1e334bed-f7c9-4ee6-ac77-2c4cc3dae04c/page/hDehC?hl=en", "cStables":"https://datastudio.google.com/embed/reporting/28a3620e-e12d-41ea-b361-d44b82cbfeda/page/hDehC?hl=en", "transactions":"https://datastudio.google.com/embed/reporting/c5ecbd9b-d277-488f-8caf-4c8b64305e55/page/hDehC?hl=en", "reserve": "https://datastudio.google.com/embed/reporting/965b3c9f-6d36-4d45-818d-34d4f59d89dd/page/hDehC?hl=en", "epoch": "https://datastudio.google.com/embed/reporting/cbbd0f2c-f56b-4e04-89b2-d3d9f105250b/page/VEuZC"}'
makerdojo: '{"attestations": "https://makerdojo.io/public/dashboards/DjNVIYqQiyxIEcTx3Io4IwQg7U56lqQPyrSYdnXl?embed=clabs","uniswap":"https://makerdojo.io/public/dashboards/1qUlHeb7W9jnPVuXv6yeRatEYxSXPDsFQUODR1bp?embed=clabs","moola":"https://makerdojo.io/public/dashboards/tWnDs1CsMQyaSLHFHj0MUoNz20WbxjGv72fCTxgq?embed=clabs"}'
basicAuth:
enabled: true
metadataCrawler:
enabled: true
archiveNodes:
Expand Down
2 changes: 2 additions & 0 deletions packages/helm-charts/blockscout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ blockscout:
accountPoolSize: 1
tokenIcons:
enabled: false
basicAuth:
enabled: false
metadataCrawler:
enabled: false
schedule: "0 */2 * * *" # every 2 hours
Expand Down

0 comments on commit be1dd5f

Please sign in to comment.