Skip to content

Commit bc545e7

Browse files
DarthSimgzigzigzeo
authored andcommitted
Set default resources.ingress.hosts to [~]
1 parent eb0b553 commit bc545e7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Options for downloading the imgproxy image
203203
|**resources.ingress.annotations**|Additional annotations for the ingress resource||
204204
|**resources.ingress.enabled**|When true, enables ingress resource for imgproxy|`false`|
205205
|**resources.ingress.health.whitelist**|Comma separated string of CIDR addresses that are allowed to access `/health` url of imgproxy||
206-
|**resources.ingress.hosts**|Hostnames for the ingress resource to use|`["example.com"]`|
206+
|**resources.ingress.hosts**|Hostnames for the ingress resource to use|`[null]`|
207207
|**resources.ingress.pathSuffix**|Suffix to be added to path prefix, for example wildcard '*' for AWS balancer||
208208
|**resources.ingress.tls**|TLS config array||
209209
|**resources.ingress.tls[].hosts**|Hostnames this tls secret is used for|`["example.com"]`|

imgproxy/values.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ image:
1515

1616
# Configure K8s resources
1717
resources:
18-
1918
# Settings applied to every single resource of the chart.
2019
common:
2120
labels: {}
2221

2322
deployment:
2423
# https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority
2524
priority:
26-
2725
# The name of the priority class to be used in both pod.PriorityClassName
2826
# and the PriorityClass (when a level is above 0).
2927
# When a level is not set, or set to 0 (default), then the definition
@@ -49,7 +47,6 @@ resources:
4947
#
5048
# This part can be skipped, in that case 1 replica will be used.
5149
replicas:
52-
5350
# The default number of replicas to start from (default 1)
5451
default: 1
5552

@@ -154,7 +151,8 @@ resources:
154151
# A security context defines privilege and access control settings for the deployment.
155152
# Check available settings in the documentation by link:
156153
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
157-
securityContext: {}
154+
securityContext:
155+
{}
158156
# allowPrivilegeEscalation: false
159157
# runAsNonRoot: true
160158

@@ -219,7 +217,7 @@ resources:
219217
annotations: {}
220218
# kubernetes.io/ingress.class: nginx
221219
# kubernetes.io/tls-acme: "true"
222-
hosts: []
220+
hosts: [~]
223221
# - example.com
224222
# - www.example.com
225223
tls: []

0 commit comments

Comments
 (0)