Skip to content

Commit f65f342

Browse files
authored
Merge pull request #6 from olopost/0.2.0
0.2.0 - container port can be changed impr: containerPort can be change BREAKING CHANGE: default container port is set to 8080 for unprivileged container if you use default NGINX please set it to 80
2 parents 58eca0c + 13dfa1f commit f65f342

File tree

8 files changed

+33
-18
lines changed

8 files changed

+33
-18
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ helm install nginx-s3 olopost/nginx-s3 -f values.yaml
2626

2727
# nginx-s3
2828

29-
![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest-20250217](https://img.shields.io/badge/AppVersion-latest--20250217-informational?style=flat-square)
29+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest-20250217](https://img.shields.io/badge/AppVersion-latest--20250217-informational?style=flat-square)
3030

3131
Nginx S3 gateway
3232

@@ -39,6 +39,7 @@ Nginx S3 gateway
3939
| autoscaling.maxReplicas | int | `100` | |
4040
| autoscaling.minReplicas | int | `1` | |
4141
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
42+
| containerPort | int | `8080` | |
4243
| fullnameOverride | string | `""` | |
4344
| image.pullPolicy | string | `"IfNotPresent"` | |
4445
| image.repository | string | `"ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway"` | |

charts/nginx-s3-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.9
18+
version: 0.2.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/nginx-s3-gateway/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# nginx-s3
22

3-
![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest-20250217](https://img.shields.io/badge/AppVersion-latest--20250217-informational?style=flat-square)
3+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest-20250217](https://img.shields.io/badge/AppVersion-latest--20250217-informational?style=flat-square)
44

55
Nginx S3 gateway
66

@@ -13,6 +13,7 @@ Nginx S3 gateway
1313
| autoscaling.maxReplicas | int | `100` | |
1414
| autoscaling.minReplicas | int | `1` | |
1515
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
16+
| containerPort | int | `8080` | |
1617
| fullnameOverride | string | `""` | |
1718
| image.pullPolicy | string | `"IfNotPresent"` | |
1819
| image.repository | string | `"ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway"` | |

charts/nginx-s3-gateway/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ spec:
8989
imagePullPolicy: {{ .Values.image.pullPolicy }}
9090
ports:
9191
- name: http
92-
containerPort: 80
92+
containerPort: {{ .Values.containerPort }}
9393
protocol: TCP
9494
livenessProbe:
9595
httpGet:
9696
path: /
97-
port: http
97+
port: {{ .Values.containerPort }}
9898
readinessProbe:
9999
httpGet:
100100
path: /
101-
port: http
101+
port: {{ .Values.containerPort }}
102102
resources:
103103
{{- toYaml .Values.resources | nindent 12 }}
104104
{{- with .Values.nodeSelector }}

charts/nginx-s3-gateway/templates/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
type: {{ .Values.service.type }}
99
ports:
1010
- port: {{ .Values.service.port }}
11-
targetPort: http
11+
targetPort: {{ .Values.containerPort}}
1212
protocol: TCP
1313
name: http
1414
selector:

charts/nginx-s3-gateway/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ service:
4040
type: ClusterIP
4141
port: 80
4242

43+
# Nginx 80 / Nginx unprivileged 8080
44+
containerPort: 8080
45+
4346
ingress:
4447
enabled: false
4548
className: ""

index.yaml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@ entries:
33
nginx-s3:
44
- apiVersion: v2
55
appVersion: latest-20250217
6-
created: "2025-02-22T10:01:43.324406+01:00"
6+
created: "2025-02-22T13:03:25.844402+01:00"
7+
description: Nginx S3 gateway
8+
digest: 62b646ab6728b3af21bb7c7596178c995ac9cdbfe7f4819b6fa80523572e5813
9+
name: nginx-s3
10+
type: application
11+
urls:
12+
- nginx-s3-gateway/nginx-s3-0.2.0.tgz
13+
version: 0.2.0
14+
- apiVersion: v2
15+
appVersion: latest-20250217
16+
created: "2025-02-22T13:03:25.843691+01:00"
717
description: Nginx S3 gateway
818
digest: 7a2d0dd0218e9ef26a2e48011d3b594d4fd772c6addcb593f80ffc2288223606
919
name: nginx-s3
@@ -13,7 +23,7 @@ entries:
1323
version: 0.1.9
1424
- apiVersion: v2
1525
appVersion: latest-20250217
16-
created: "2025-02-22T10:01:43.324138+01:00"
26+
created: "2025-02-22T13:03:25.843455+01:00"
1727
description: Nginx S3 gateway
1828
digest: 8a0379ddece454b16bbe7673f02b235fd1739230dfc20838764dbc428cdb5b47
1929
name: nginx-s3
@@ -23,7 +33,7 @@ entries:
2333
version: 0.1.8
2434
- apiVersion: v2
2535
appVersion: latest-20241230
26-
created: "2025-02-22T10:01:43.32376+01:00"
36+
created: "2025-02-22T13:03:25.843216+01:00"
2737
description: Nginx S3 gateway
2838
digest: e4f5e94202c365173a0abf863b01d7a87a0d6759158399e3547d024ad16199a3
2939
name: nginx-s3
@@ -33,7 +43,7 @@ entries:
3343
version: 0.1.7
3444
- apiVersion: v2
3545
appVersion: latest-20241230
36-
created: "2025-02-22T10:01:43.323339+01:00"
46+
created: "2025-02-22T13:03:25.842987+01:00"
3747
description: Nginx S3 gateway
3848
digest: 94ec84d22932299381b3b94adcb2ff9914a7c6e131cbddbba177dad213e663ee
3949
name: nginx-s3
@@ -43,7 +53,7 @@ entries:
4353
version: 0.1.6
4454
- apiVersion: v2
4555
appVersion: latest-20241230
46-
created: "2025-02-22T10:01:43.322923+01:00"
56+
created: "2025-02-22T13:03:25.842759+01:00"
4757
description: Nginx S3 gateway
4858
digest: bb91480f59b26bf04e17a65cc49d254ef527369b1ca87fcf9f2eb9cac8b56483
4959
name: nginx-s3
@@ -53,7 +63,7 @@ entries:
5363
version: 0.1.5
5464
- apiVersion: v2
5565
appVersion: latest-20240624
56-
created: "2025-02-22T10:01:43.322425+01:00"
66+
created: "2025-02-22T13:03:25.842521+01:00"
5767
description: Nginx S3 gateway
5868
digest: 23385deaed130e13d613757c3e80907297f8ddb7fe427f8d5c0e9dcbdcabdc1f
5969
name: nginx-s3
@@ -63,7 +73,7 @@ entries:
6373
version: 0.1.4
6474
- apiVersion: v2
6575
appVersion: latest-20240624
66-
created: "2025-02-22T10:01:43.321976+01:00"
76+
created: "2025-02-22T13:03:25.842294+01:00"
6777
description: Nginx S3 gateway
6878
digest: 9e7637ee930db6bd15367c6568ef502d1b5e1bfe2a3f60bdeeed4008ca62d6e5
6979
name: nginx-s3
@@ -73,7 +83,7 @@ entries:
7383
version: 0.1.3
7484
- apiVersion: v2
7585
appVersion: latest-20240624
76-
created: "2025-02-22T10:01:43.32151+01:00"
86+
created: "2025-02-22T13:03:25.842058+01:00"
7787
description: Nginx S3 gateway
7888
digest: 8fa36492d13caf8ceec370777afd8e2fd83024cc99aa58e85383a8ecd2c8a2c9
7989
name: nginx-s3
@@ -83,7 +93,7 @@ entries:
8393
version: 0.1.2
8494
- apiVersion: v2
8595
appVersion: 1.16.0
86-
created: "2025-02-22T10:01:43.321076+01:00"
96+
created: "2025-02-22T13:03:25.84182+01:00"
8797
description: Nginx S3 gateway
8898
digest: dfe793caf3ec679c0c55f5119036913110b5e5b84d7b2cfc538d0a695b6e7c2d
8999
name: nginx-s3
@@ -93,12 +103,12 @@ entries:
93103
version: 0.1.1
94104
- apiVersion: v2
95105
appVersion: 1.16.0
96-
created: "2025-02-22T10:01:43.320569+01:00"
106+
created: "2025-02-22T13:03:25.841575+01:00"
97107
description: Nginx S3 gateway
98108
digest: 9b961824507f5d27fc73a47ed06af52ddcc217fc35ffb9c6b2570c412a3f72cb
99109
name: nginx-s3
100110
type: application
101111
urls:
102112
- nginx-s3-gateway/nginx-s3-0.1.0.tgz
103113
version: 0.1.0
104-
generated: "2025-02-22T10:01:43.319921+01:00"
114+
generated: "2025-02-22T13:03:25.841244+01:00"

nginx-s3-gateway/nginx-s3-0.2.0.tgz

4.57 KB
Binary file not shown.

0 commit comments

Comments
 (0)