Skip to content

Commit

Permalink
Merge pull request #6 from olopost/0.2.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
olopost authored Feb 22, 2025
2 parents 58eca0c + 13dfa1f commit f65f342
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 18 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ helm install nginx-s3 olopost/nginx-s3 -f values.yaml

# nginx-s3

![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)
![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)

Nginx S3 gateway

Expand All @@ -39,6 +39,7 @@ Nginx S3 gateway
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| containerPort | int | `8080` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/nginx-s3-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.9
version: 0.2.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 2 additions & 1 deletion charts/nginx-s3-gateway/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nginx-s3

![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)
![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)

Nginx S3 gateway

Expand All @@ -13,6 +13,7 @@ Nginx S3 gateway
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| containerPort | int | `8080` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway"` | |
Expand Down
6 changes: 3 additions & 3 deletions charts/nginx-s3-gateway/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,16 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
containerPort: {{ .Values.containerPort }}
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
port: {{ .Values.containerPort }}
readinessProbe:
httpGet:
path: /
port: http
port: {{ .Values.containerPort }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 1 addition & 1 deletion charts/nginx-s3-gateway/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ .Values.containerPort}}
protocol: TCP
name: http
selector:
Expand Down
3 changes: 3 additions & 0 deletions charts/nginx-s3-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ service:
type: ClusterIP
port: 80

# Nginx 80 / Nginx unprivileged 8080
containerPort: 8080

ingress:
enabled: false
className: ""
Expand Down
32 changes: 21 additions & 11 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@ entries:
nginx-s3:
- apiVersion: v2
appVersion: latest-20250217
created: "2025-02-22T10:01:43.324406+01:00"
created: "2025-02-22T13:03:25.844402+01:00"
description: Nginx S3 gateway
digest: 62b646ab6728b3af21bb7c7596178c995ac9cdbfe7f4819b6fa80523572e5813
name: nginx-s3
type: application
urls:
- nginx-s3-gateway/nginx-s3-0.2.0.tgz
version: 0.2.0
- apiVersion: v2
appVersion: latest-20250217
created: "2025-02-22T13:03:25.843691+01:00"
description: Nginx S3 gateway
digest: 7a2d0dd0218e9ef26a2e48011d3b594d4fd772c6addcb593f80ffc2288223606
name: nginx-s3
Expand All @@ -13,7 +23,7 @@ entries:
version: 0.1.9
- apiVersion: v2
appVersion: latest-20250217
created: "2025-02-22T10:01:43.324138+01:00"
created: "2025-02-22T13:03:25.843455+01:00"
description: Nginx S3 gateway
digest: 8a0379ddece454b16bbe7673f02b235fd1739230dfc20838764dbc428cdb5b47
name: nginx-s3
Expand All @@ -23,7 +33,7 @@ entries:
version: 0.1.8
- apiVersion: v2
appVersion: latest-20241230
created: "2025-02-22T10:01:43.32376+01:00"
created: "2025-02-22T13:03:25.843216+01:00"
description: Nginx S3 gateway
digest: e4f5e94202c365173a0abf863b01d7a87a0d6759158399e3547d024ad16199a3
name: nginx-s3
Expand All @@ -33,7 +43,7 @@ entries:
version: 0.1.7
- apiVersion: v2
appVersion: latest-20241230
created: "2025-02-22T10:01:43.323339+01:00"
created: "2025-02-22T13:03:25.842987+01:00"
description: Nginx S3 gateway
digest: 94ec84d22932299381b3b94adcb2ff9914a7c6e131cbddbba177dad213e663ee
name: nginx-s3
Expand All @@ -43,7 +53,7 @@ entries:
version: 0.1.6
- apiVersion: v2
appVersion: latest-20241230
created: "2025-02-22T10:01:43.322923+01:00"
created: "2025-02-22T13:03:25.842759+01:00"
description: Nginx S3 gateway
digest: bb91480f59b26bf04e17a65cc49d254ef527369b1ca87fcf9f2eb9cac8b56483
name: nginx-s3
Expand All @@ -53,7 +63,7 @@ entries:
version: 0.1.5
- apiVersion: v2
appVersion: latest-20240624
created: "2025-02-22T10:01:43.322425+01:00"
created: "2025-02-22T13:03:25.842521+01:00"
description: Nginx S3 gateway
digest: 23385deaed130e13d613757c3e80907297f8ddb7fe427f8d5c0e9dcbdcabdc1f
name: nginx-s3
Expand All @@ -63,7 +73,7 @@ entries:
version: 0.1.4
- apiVersion: v2
appVersion: latest-20240624
created: "2025-02-22T10:01:43.321976+01:00"
created: "2025-02-22T13:03:25.842294+01:00"
description: Nginx S3 gateway
digest: 9e7637ee930db6bd15367c6568ef502d1b5e1bfe2a3f60bdeeed4008ca62d6e5
name: nginx-s3
Expand All @@ -73,7 +83,7 @@ entries:
version: 0.1.3
- apiVersion: v2
appVersion: latest-20240624
created: "2025-02-22T10:01:43.32151+01:00"
created: "2025-02-22T13:03:25.842058+01:00"
description: Nginx S3 gateway
digest: 8fa36492d13caf8ceec370777afd8e2fd83024cc99aa58e85383a8ecd2c8a2c9
name: nginx-s3
Expand All @@ -83,7 +93,7 @@ entries:
version: 0.1.2
- apiVersion: v2
appVersion: 1.16.0
created: "2025-02-22T10:01:43.321076+01:00"
created: "2025-02-22T13:03:25.84182+01:00"
description: Nginx S3 gateway
digest: dfe793caf3ec679c0c55f5119036913110b5e5b84d7b2cfc538d0a695b6e7c2d
name: nginx-s3
Expand All @@ -93,12 +103,12 @@ entries:
version: 0.1.1
- apiVersion: v2
appVersion: 1.16.0
created: "2025-02-22T10:01:43.320569+01:00"
created: "2025-02-22T13:03:25.841575+01:00"
description: Nginx S3 gateway
digest: 9b961824507f5d27fc73a47ed06af52ddcc217fc35ffb9c6b2570c412a3f72cb
name: nginx-s3
type: application
urls:
- nginx-s3-gateway/nginx-s3-0.1.0.tgz
version: 0.1.0
generated: "2025-02-22T10:01:43.319921+01:00"
generated: "2025-02-22T13:03:25.841244+01:00"
Binary file added nginx-s3-gateway/nginx-s3-0.2.0.tgz
Binary file not shown.

0 comments on commit f65f342

Please sign in to comment.