Skip to content

Release 1.5.0 #2778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Nov 20, 2024
Prev Previous commit
Next Next commit
regenerate files after rebase
  • Loading branch information
salonichf5 committed Nov 19, 2024
commit 9ca2ff5a4f6c6bfeb516555f211c058f5585bff3
8 changes: 4 additions & 4 deletions config/tests/static-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- --source
- /includes/main.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
securityContext:
seccompProfile:
type: RuntimeDefault
Expand All @@ -44,7 +44,7 @@ spec:
runAsUser: 102
runAsGroup: 1001
volumeMounts:
- name: nginx-includes-configmap
- name: nginx-includes-bootstrap
mountPath: /includes
- name: nginx-main-includes
mountPath: /etc/nginx/main-includes
Expand Down Expand Up @@ -164,6 +164,6 @@ spec:
emptyDir: {}
- name: nginx-includes
emptyDir: {}
- name: nginx-includes-configmap
- name: nginx-includes-bootstrap
configMap:
name: nginx-includes
name: nginx-includes-bootstrap
10 changes: 5 additions & 5 deletions deploy/aws-nlb/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ metadata:
app.kubernetes.io/instance: nginx-gateway
app.kubernetes.io/name: nginx-gateway
app.kubernetes.io/version: 1.5.0
name: nginx-includes
name: nginx-includes-bootstrap
namespace: nginx-gateway
---
apiVersion: v1
Expand Down Expand Up @@ -310,7 +310,7 @@ spec:
- --source
- /includes/main.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0
imagePullPolicy: IfNotPresent
name: copy-nginx-config
Expand All @@ -327,7 +327,7 @@ spec:
type: RuntimeDefault
volumeMounts:
- mountPath: /includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
- mountPath: /etc/nginx/main-includes
name: nginx-main-includes
securityContext:
Expand All @@ -352,8 +352,8 @@ spec:
- emptyDir: {}
name: nginx-includes
- configMap:
name: nginx-includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
name: nginx-includes-bootstrap
---
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
Expand Down
10 changes: 5 additions & 5 deletions deploy/azure/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ metadata:
app.kubernetes.io/instance: nginx-gateway
app.kubernetes.io/name: nginx-gateway
app.kubernetes.io/version: 1.5.0
name: nginx-includes
name: nginx-includes-bootstrap
namespace: nginx-gateway
---
apiVersion: v1
Expand Down Expand Up @@ -307,7 +307,7 @@ spec:
- --source
- /includes/main.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0
imagePullPolicy: IfNotPresent
name: copy-nginx-config
Expand All @@ -324,7 +324,7 @@ spec:
type: RuntimeDefault
volumeMounts:
- mountPath: /includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
- mountPath: /etc/nginx/main-includes
name: nginx-main-includes
nodeSelector:
Expand All @@ -351,8 +351,8 @@ spec:
- emptyDir: {}
name: nginx-includes
- configMap:
name: nginx-includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
name: nginx-includes-bootstrap
---
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
Expand Down
10 changes: 5 additions & 5 deletions deploy/default/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ metadata:
app.kubernetes.io/instance: nginx-gateway
app.kubernetes.io/name: nginx-gateway
app.kubernetes.io/version: 1.5.0
name: nginx-includes
name: nginx-includes-bootstrap
namespace: nginx-gateway
---
apiVersion: v1
Expand Down Expand Up @@ -307,7 +307,7 @@ spec:
- --source
- /includes/main.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0
imagePullPolicy: IfNotPresent
name: copy-nginx-config
Expand All @@ -324,7 +324,7 @@ spec:
type: RuntimeDefault
volumeMounts:
- mountPath: /includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
- mountPath: /etc/nginx/main-includes
name: nginx-main-includes
securityContext:
Expand All @@ -349,8 +349,8 @@ spec:
- emptyDir: {}
name: nginx-includes
- configMap:
name: nginx-includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
name: nginx-includes-bootstrap
---
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
Expand Down
27 changes: 22 additions & 5 deletions deploy/experimental-nginx-plus/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,17 @@ apiVersion: v1
data:
main.conf: |
error_log stderr info;
mgmt.conf: |
mgmt {
enforce_initial_report off;
}
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/instance: nginx-gateway
app.kubernetes.io/name: nginx-gateway
app.kubernetes.io/version: 1.5.0
name: nginx-includes
name: nginx-includes-bootstrap
namespace: nginx-gateway
---
apiVersion: v1
Expand Down Expand Up @@ -225,6 +229,7 @@ spec:
- --config=nginx-gateway-config
- --service=nginx-gateway
- --nginx-plus
- --usage-report-secret=nplus-license
- --metrics-port=9113
- --health-port=8081
- --leader-election-lock-name=nginx-gateway-leader-election
Expand Down Expand Up @@ -315,14 +320,21 @@ spec:
name: nginx-cache
- mountPath: /etc/nginx/includes
name: nginx-includes
- mountPath: /var/lib/nginx/state
name: nginx-lib
- mountPath: /etc/nginx/license.jwt
name: nginx-plus-license
subPath: license.jwt
initContainers:
- command:
- /usr/bin/gateway
- copy
- --source
- /includes/main.conf
- --source
- /includes/mgmt.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0
imagePullPolicy: IfNotPresent
name: copy-nginx-config
Expand All @@ -339,7 +351,7 @@ spec:
type: RuntimeDefault
volumeMounts:
- mountPath: /includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
- mountPath: /etc/nginx/main-includes
name: nginx-main-includes
securityContext:
Expand All @@ -364,8 +376,13 @@ spec:
- emptyDir: {}
name: nginx-includes
- configMap:
name: nginx-includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
name: nginx-includes-bootstrap
- emptyDir: {}
name: nginx-lib
- name: nginx-plus-license
secret:
secretName: nplus-license
---
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
Expand Down
10 changes: 5 additions & 5 deletions deploy/experimental/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ metadata:
app.kubernetes.io/instance: nginx-gateway
app.kubernetes.io/name: nginx-gateway
app.kubernetes.io/version: 1.5.0
name: nginx-includes
name: nginx-includes-bootstrap
namespace: nginx-gateway
---
apiVersion: v1
Expand Down Expand Up @@ -313,7 +313,7 @@ spec:
- --source
- /includes/main.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0
imagePullPolicy: IfNotPresent
name: copy-nginx-config
Expand All @@ -330,7 +330,7 @@ spec:
type: RuntimeDefault
volumeMounts:
- mountPath: /includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
- mountPath: /etc/nginx/main-includes
name: nginx-main-includes
securityContext:
Expand All @@ -355,8 +355,8 @@ spec:
- emptyDir: {}
name: nginx-includes
- configMap:
name: nginx-includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
name: nginx-includes-bootstrap
---
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
Expand Down
29 changes: 22 additions & 7 deletions deploy/nginx-plus/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,17 @@ apiVersion: v1
data:
main.conf: |
error_log stderr info;
mgmt.conf: |
mgmt {
enforce_initial_report off;
}
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/instance: nginx-gateway
app.kubernetes.io/name: nginx-gateway
app.kubernetes.io/version: 1.5.0
name: nginx-includes
name: nginx-includes-bootstrap
namespace: nginx-gateway
---
apiVersion: v1
Expand Down Expand Up @@ -220,11 +224,10 @@ spec:
- --config=nginx-gateway-config
- --service=nginx-gateway
- --nginx-plus
- --usage-report-secret=nplus-license
- --metrics-port=9113
- --health-port=8081
- --leader-election-lock-name=nginx-gateway-leader-election
- --usage-report-secret=nginx-gateway/ngf-usage-auth
- --usage-report-server-url=https://my-instance-nim.example.com
env:
- name: POD_IP
valueFrom:
Expand Down Expand Up @@ -311,14 +314,21 @@ spec:
name: nginx-cache
- mountPath: /etc/nginx/includes
name: nginx-includes
- mountPath: /var/lib/nginx/state
name: nginx-lib
- mountPath: /etc/nginx/license.jwt
name: nginx-plus-license
subPath: license.jwt
initContainers:
- command:
- /usr/bin/gateway
- copy
- --source
- /includes/main.conf
- --source
- /includes/mgmt.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0
imagePullPolicy: IfNotPresent
name: copy-nginx-config
Expand All @@ -335,7 +345,7 @@ spec:
type: RuntimeDefault
volumeMounts:
- mountPath: /includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
- mountPath: /etc/nginx/main-includes
name: nginx-main-includes
securityContext:
Expand All @@ -360,8 +370,13 @@ spec:
- emptyDir: {}
name: nginx-includes
- configMap:
name: nginx-includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
name: nginx-includes-bootstrap
- emptyDir: {}
name: nginx-lib
- name: nginx-plus-license
secret:
secretName: nplus-license
---
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
Expand Down
10 changes: 5 additions & 5 deletions deploy/nodeport/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ metadata:
app.kubernetes.io/instance: nginx-gateway
app.kubernetes.io/name: nginx-gateway
app.kubernetes.io/version: 1.5.0
name: nginx-includes
name: nginx-includes-bootstrap
namespace: nginx-gateway
---
apiVersion: v1
Expand Down Expand Up @@ -307,7 +307,7 @@ spec:
- --source
- /includes/main.conf
- --destination
- /etc/nginx/main-includes/main.conf
- /etc/nginx/main-includes
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0
imagePullPolicy: IfNotPresent
name: copy-nginx-config
Expand All @@ -324,7 +324,7 @@ spec:
type: RuntimeDefault
volumeMounts:
- mountPath: /includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
- mountPath: /etc/nginx/main-includes
name: nginx-main-includes
securityContext:
Expand All @@ -349,8 +349,8 @@ spec:
- emptyDir: {}
name: nginx-includes
- configMap:
name: nginx-includes
name: nginx-includes-configmap
name: nginx-includes-bootstrap
name: nginx-includes-bootstrap
---
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
Expand Down
Loading
Loading