Skip to content

Commit

Permalink
remove auth code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt108 committed Nov 11, 2020
1 parent 1d28ee9 commit 1cf3a99
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/thumbor/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: thumbor
icon: https://camo.githubusercontent.com/8add159463b5ef31481d1e0cc9fb590cd662fe62/68747470733a2f2f73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f6d696e696d616c2d636f6d706163742f696d616765732f6d632d7468756d626f722e706e67
version: 1.0.6
version: 1.0.7
appVersion: "6.7.5"
description: A chart containing Thumbor
home: http://thumbor.org/
Expand Down
5 changes: 1 addition & 4 deletions charts/thumbor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
=======
A chart containing Thumbor

Current chart version is `1.0.6`
Current chart version is `1.0.7`

## Based on

Expand Down Expand Up @@ -36,9 +36,6 @@ NAME: my-release
| autoscaling.maxReplicas | int | `1` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| auth.enabled | bool | `true` | |
| auth.password | string | `"$1$nwVVjM_Y$VeLOyr0CIIMXQajJL2pXT1"` | |
| auth.username | string | `"thumbor"` | |
| conf.allowedSources | string | `"'http://domain_or_wildcard', 'comma_seperated'"` | |
| env.open.ALLOW_UNSAFE_URL | string | `"True"` | |
| env.open.AUTO_WEBP | string | `"True"` | |
Expand Down
5 changes: 1 addition & 4 deletions charts/thumbor/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
{{- if or (.Values.ingress.annotations) (.Values.auth.enabled) }}
{{- if .Values.ingress.annotations }}
annotations:
{{ toYaml .Values.ingress.annotations | indent 4 }}
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: {{ template "thumbor.name" . }}-auth
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - Thumbor'
{{- end }}
labels:
app: {{ template "thumbor.name" . }}
Expand Down
5 changes: 0 additions & 5 deletions charts/thumbor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ env:
ALLOW_UNSAFE_URL: "True"
LOG_LEVEL: "error"

auth:
enabled: true
username: "thumbor" # Username
password: "$1$nwVVjM_Y$VeLOyr0CIIMXQajJL2pXT1" # Password generated via htpasswd (password)
# existingSecret: specify the name of a existing secret

# Some Configs should be set via config-file and not as environment variable
conf:
Expand Down

0 comments on commit 1cf3a99

Please sign in to comment.