Skip to content

Commit 5645af4

Browse files
DarthSimgzigzigzeo
authored andcommitted
Set default resources.ingress.hosts to [~]
1 parent c7c8780 commit 5645af4

2 files changed

Lines changed: 4 additions & 43 deletions

File tree

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ Deployment specific options.
412412
|**resources.ingress.annotations**|Additional annotations for the ingress resource||
413413
|**resources.ingress.enabled**|When true, enables ingress resource for imgproxy|`false`|
414414
|**resources.ingress.health.whitelist**|Comma separated string of CIDR addresses that are allowed to access `/health` url of imgproxy||
415-
|**resources.ingress.hosts**|Hostnames for the ingress resource to use|`["example.com"]`|
415+
|**resources.ingress.hosts**|Hostnames for the ingress resource to use|`[null]`|
416416
|**resources.ingress.pathSuffix**|Suffix to be added to path prefix, for example wildcard '*' for AWS balancer||
417417
|**resources.ingress.tls**|TLS config array||
418418
|**resources.ingress.tls[].hosts**|Hostnames this tls secret is used for|`["example.com"]`|

imgproxy/values.yaml

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ licenseKey: ""
1818

1919
# Configure K8s resources
2020
resources:
21-
2221
# Settings applied to every single resource of the chart.
2322
common:
2423
labels: {}
2524

2625
deployment:
2726
# https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority
2827
priority:
29-
3028
# The name of the priority class to be used in both pod.PriorityClassName
3129
# and the PriorityClass (when a level is above 0).
3230
# When a level is not set, or set to 0 (default), then the definition
@@ -57,7 +55,6 @@ resources:
5755
#
5856
# This part can be skipped, in that case 1 replica will be used.
5957
replicas:
60-
6158
# The default number of replicas to start from (default 1)
6259
default: 1
6360

@@ -144,7 +141,8 @@ resources:
144141
# A security context defines privilege and access control settings for the deployment.
145142
# Check available settings in the documentation by link:
146143
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
147-
securityContext: {}
144+
securityContext:
145+
{}
148146
# allowPrivilegeEscalation: false
149147
# runAsNonRoot: true
150148

@@ -177,7 +175,6 @@ resources:
177175
# - 192.168.1.1/24
178176
# - 10.0.0.1/20
179177

180-
181178
serviceAccount:
182179
# The name of the EXISTING service account to be used.
183180
# If the custom name is set we WON'T create the service account
@@ -202,7 +199,7 @@ resources:
202199
annotations: {}
203200
# kubernetes.io/ingress.class: nginx
204201
# kubernetes.io/tls-acme: "true"
205-
hosts: []
202+
hosts: [~]
206203
# - example.com
207204
# - www.example.com
208205
tls: []
@@ -273,10 +270,8 @@ persistence:
273270
# Configure imgproxy features
274271
# https://docs.imgproxy.net/configuration
275272
features:
276-
277273
# https://docs.imgproxy.net/configuration?id=url-signature
278274
urlSignature:
279-
280275
# If URL signature is enabled
281276
enabled: true
282277

@@ -294,7 +289,6 @@ features:
294289

295290
# https://docs.imgproxy.net/configuration?id=server
296291
server:
297-
298292
# ENV['IMGPROXY_READ_TIMEOUT']
299293
# The maximum duration (in seconds) for reading the entire image request, including the body
300294
readTimeout: "10"
@@ -402,7 +396,6 @@ features:
402396

403397
# https://docs.imgproxy.net/configuration?id=security
404398
security:
405-
406399
# ENV['IMGPROXY_SECRET']
407400
# the authorization token. If specified, the HTTP request should contain the `Authorization: Bearer %secret%` header
408401
secret: ""
@@ -492,7 +485,6 @@ features:
492485

493486
# https://docs.imgproxy.net/configuration?id=cookies
494487
cookies:
495-
496488
# ENV['IMGPROXY_COOKIE_PASSTHROUGH']
497489
# when true, incoming cookies will be passed through to the image request
498490
# if they are applicable for the image URL
@@ -507,7 +499,6 @@ features:
507499

508500
# https://docs.imgproxy.net/configuration?id=compression
509501
compression:
510-
511502
# ENV['IMGPROXY_QUALITY']
512503
# default quality of the resulting image, percentage.
513504
quality: "80"
@@ -588,7 +579,6 @@ features:
588579
# PRO, v3+: calculate quality for your resulting images so they fit the selected metric the best.
589580
# https://docs.imgproxy.net/autoquality?id=autoquality
590581
autoquality:
591-
592582
# ENV['IMGPROXY_AUTOQUALITY_METHOD']
593583
# Enabled values: none | size | dssim | ml
594584
# Default: none
@@ -653,10 +643,8 @@ features:
653643

654644
# https://docs.imgproxy.net/configuration?id=avifwebp-support-detection
655645
formatsSupportDetection:
656-
657646
# Enforce/enable webP detection/usage
658647
webp:
659-
660648
# ENV['IMGPROXY_ENABLE_WEBP_DETECTION']
661649
# enables WebP support detection.
662650
# When the file extension is omitted in the imgproxy URL and browser supports WebP, imgproxy will use it as the resulting format
@@ -668,7 +656,6 @@ features:
668656

669657
# Enforce/enable AVIF detection/usage
670658
avif:
671-
672659
# ENV['IMGPROXY_ENABLE_AVIF_DETECTION']
673660
# enables AVIF support detection. When the file extension is omitted in the imgproxy URL and browser supports AVIF, imgproxy will use it as the resulting format
674661
enabled: false
@@ -679,14 +666,12 @@ features:
679666

680667
# https://docs.imgproxy.net/configuration?id=client-hints-support
681668
clientHintsSupport:
682-
683669
# ENV['IMGPROXY_ENABLE_CLIENT_HINTS']
684670
# enables Client Hints support to determine default width and DPR options.
685671
enabled: false
686672

687673
# https://docs.imgproxy.net/configuration?id=video-thumbnails
688674
videoThumbnails:
689-
690675
# ENV['IMGPROXY_ENABLE_VIDEO_THUMBNAILS']
691676
# PRO: then true, enables video thumbnails generation.
692677
enabled: false
@@ -705,7 +690,6 @@ features:
705690

706691
# https://docs.imgproxy.net/configuration?id=watermark
707692
watermark:
708-
709693
# ENV['IMGPROXY_WATERMARK_DATA']
710694
# Base64-encoded image data. You can easily calculate it with `base64 tmp/watermark.png | tr -d '\n'`
711695
data: ""
@@ -728,7 +712,6 @@ features:
728712

729713
# https://docs.imgproxy.net/configuration?id=unsharpening
730714
unsharpening:
731-
732715
# ENV['IMGPROXY_UNSHARPENING_MODE']
733716
# PRO: controls when unsharpenning mask should be applied.
734717
# The following modes are supported: `auto`, `none`, `always'
@@ -748,7 +731,6 @@ features:
748731
# bluring the detections, or drawing the detections.
749732
# https://docs.imgproxy.net/configuration?id=object-detection
750733
objectDetection:
751-
752734
# If the object detection is enabled
753735
enabled: false
754736

@@ -785,7 +767,6 @@ features:
785767
# PRO, v3.14+
786768
# https://docs.imgproxy.net/latest/configuration?id=smart-crop
787769
smartCrop:
788-
789770
# ENV['IMGPROXY_SMART_CROP_ADVANCED']
790771
# When true, enables usage of the advanced smart crop method.
791772
# Advanced smart crop may take more time than regular one, yet it produces better results.
@@ -797,7 +778,6 @@ features:
797778

798779
# https://docs.imgproxy.net/configuration?id=fallback-image
799780
fallbackImage:
800-
801781
# ENV['IMGPROXY_FALLBACK_IMAGE_DATA']
802782
# Base64-encoded image data. You can easily calculate it with `base64 tmp/fallback.png | tr -d '\n'`
803783
data: ""
@@ -834,7 +814,6 @@ features:
834814
skipProcessing: ""
835815

836816
skipProcessing:
837-
838817
# DEPRECATED: to be removed in v0.9.0
839818
# Use `formats.skipProcessing` instead
840819
# ENV['IMGPROXY_SKIP_PROCESSING_FORMATS']
@@ -843,7 +822,6 @@ features:
843822

844823
# https://docs.imgproxy.net/configuration?id=presets
845824
presets:
846-
847825
# ENV['IMGPROXY_PRESETS']
848826
# set of preset definitions, comma-divided.
849827
# Example: `default=resizing_type:fill/enlarge:1,sharp=sharpen:0.7,blurry=blur:2`.
@@ -855,7 +833,6 @@ features:
855833

856834
# https://docs.imgproxy.net/configuration?id=serving-files-from-amazon-s3
857835
aws:
858-
859836
# ENV['IMGPROXY_USE_S3']
860837
# when `true`, enables image fetching from Amazon S3 buckets.
861838
enabled: false
@@ -885,7 +862,6 @@ features:
885862

886863
# https://docs.imgproxy.net/configuration?id=serving-files-from-google-cloud-storage
887864
gcs:
888-
889865
# Enable GCS as backend for images
890866
enabled: false
891867

@@ -899,7 +875,6 @@ features:
899875

900876
# https://docs.imgproxy.net/configuration?id=serving-files-from-azure-blob-storage
901877
abs:
902-
903878
# ENV['IMGPROXY_USE_ABS']
904879
# when `true`, enables image fetching from Azure Blob Storage (ABS) containers.
905880
enabled: false
@@ -918,7 +893,6 @@ features:
918893

919894
# https://docs.imgproxy.net/configuration?id=new-relic-metrics
920895
newRelic:
921-
922896
enabled: false
923897

924898
# ENV['IMGPROXY_NEW_RELIC_KEY']
@@ -935,7 +909,6 @@ features:
935909

936910
# https://docs.imgproxy.net/configuration?id=prometheus-metrics
937911
prometheus:
938-
939912
enabled: false
940913

941914
# ENV['IMGPROXY_PROMETHEUS_NAMESPACE']
@@ -948,7 +921,6 @@ features:
948921
# Integration to Datadog (v3+)
949922
# https://docs.imgproxy.net/configuration?id=datadog-metrics
950923
datadog:
951-
952924
# ENV['IMGPROXY_DATADOG_ENABLE']
953925
# When provided, enables error reporting to Datadog
954926
enabled: false
@@ -1016,7 +988,6 @@ features:
1016988

1017989
# https://docs.imgproxy.net/configuration?id=opentelemetry-metrics
1018990
openTelemetry:
1019-
1020991
# ENV['IMGPROXY_OPEN_TELEMETRY_ENABLE_METRICS']
1021992
# When `true`, imgproxy will send metrics over OpenTelemetry Metrics API. Default: `false`
1022993
enabled: false
@@ -1066,7 +1037,6 @@ features:
10661037

10671038
# https://docs.imgproxy.net/latest/cloud_watch?id=amazon-cloudwatch
10681039
amazonCloudWatch:
1069-
10701040
# ENV['IMGPROXY_CLOUD_WATCH_SERVICE_NAME']
10711041
# The value of the ServiceName dimension which will be used in the metrics. Default: blank
10721042
serviceName: ~
@@ -1081,10 +1051,8 @@ features:
10811051

10821052
# https://docs.imgproxy.net/configuration?id=error-reporting
10831053
errorReporting:
1084-
10851054
# Integration to Bugsnag
10861055
bugsnag:
1087-
10881056
# When provided, enables error reporting to Bugsnag
10891057
enabled: false
10901058

@@ -1098,7 +1066,6 @@ features:
10981066

10991067
# Integration to Honeybadger
11001068
honeybadger:
1101-
11021069
# When provided, enables error reporting to Honeybadger
11031070
enabled: false
11041071

@@ -1112,7 +1079,6 @@ features:
11121079

11131080
# Integration to Sentry
11141081
sentry:
1115-
11161082
# When provided, enables error reporting to Sentry
11171083
enabled: false
11181084

@@ -1134,7 +1100,6 @@ features:
11341100

11351101
# https://docs.imgproxy.net/configuration?id=log
11361102
logging:
1137-
11381103
# ENV['IMGPROXY_LOG_FORMAT']
11391104
# the log format. The following formats are supported: pretty, structured, json, gcp
11401105
# - pretty: (default) colored human-readable format;
@@ -1150,7 +1115,6 @@ features:
11501115
# Enable Syslog integration
11511116
#
11521117
syslog:
1153-
11541118
# ENV['IMGPROXY_SYSLOG_ENABLE']
11551119
# when `true`, enables sending logs to syslog
11561120
enabled: false
@@ -1173,7 +1137,6 @@ features:
11731137

11741138
# https://docs.imgproxy.net/configuration?id=memory-usage-tweaks
11751139
memoryUsageTweaks:
1176-
11771140
# ENV['IMGPROXY_DOWNLOAD_BUFFER_SIZE']
11781141
# the initial size (in bytes) of a single download buffer. When zero, initializes empty download buffers.
11791142
downloadBufferSize: "0"
@@ -1192,7 +1155,6 @@ features:
11921155

11931156
# https://docs.imgproxy.net/configuration?id=miscellaneous
11941157
miscellaneous:
1195-
11961158
# ENV['IMGPROXY_BASE_URL']
11971159
# base URL prefix that will be added to every requested image URL. For example, if the base URL is `http://example.com/images` and `/path/to/image.png` is requested, imgproxy will download the source image from `http://example.com/images/path/to/image.png`.
11981160
baseUrl: ""
@@ -1249,7 +1211,6 @@ features:
12491211
svgFixUnsupported: false
12501212

12511213
healthCheck:
1252-
12531214
# ENV['IMGPROXY_HEALTH_CHECK_MESSAGE']
12541215
# (v3.3+, Pro) The content of the health check response
12551216
message: ""

0 commit comments

Comments
 (0)