Skip to content

Commit a4b29ca

Browse files
committed
Merge remote-tracking branch 'origin' into epic-472-port-nginx-one-labs
2 parents 56fa0e5 + 90f5e08 commit a4b29ca

File tree

221 files changed

+25776
-2274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+25776
-2274
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ content/includes/nginxaas-azure/* @nginx/n4a-docs-approvers
3737
content/ngf/* @nginx/nginx-gateway-fabric
3838
content/includes/ngf/* @nginx/nginx-gateway-fabric
3939

40+
# NGINX Ingress Controller
41+
content/nic/* @nginx/kic
42+
content/includes/nic/* @nginx/kic
43+
4044
# NGINX Instance Manager
4145
content/nms/nim/* @nginx/nim-docs-approvers
4246
content/nim/* @nginx/nim-docs-approvers

.github/workflows/build-push.yml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
5959
call-docs-build-push:
6060
needs: prod-check-branch
61-
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@9c59fab05a8131f4d691ba6ea2b6a119f3ef832a # v1.0.7
61+
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@bc2ae667727ba02b3d70dacee231ce04f7d94344 # v1.0.8
6262
with:
6363
production_url_path: ""
6464
preview_url_path: "${{ vars.PREVIEW_URL_PATH }}"
@@ -79,16 +79,37 @@ jobs:
7979
runs-on: ubuntu-latest
8080
permissions: read-all
8181
steps:
82-
- name: Trigger 'Slack notification for new theme release' workflow in 'nginx-hugo-theme' repo.
83-
run: |
84-
curl -L \
85-
-X POST \
86-
-H "Accept: application/vnd.github+json" \
87-
-H "Authorization: Bearer ${{ secrets.THEME_SLACK_FLOW_PAT }}" \
88-
-H "X-GitHub-Api-Version: 2022-11-28" \
89-
"https://api.github.com/repos/${{ secrets.OWNER }}/${{ secrets.REPO }}/dispatches" \
90-
-d "{\"event_type\": \"trigger-slack-notification\", \"client_payload\": {\"previewURL\": \"${{ env.PREVIEW_URL }}\", \"author\": \"${{ github.event.client_payload.author}}\", \"tag_name\": \"${{ github.event.client_payload.tag_name }}\", \"release_name\": \"${{ github.event.client_payload.release_name }}\"}}"
82+
- name: Send notification
83+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
84+
with:
85+
status: custom
86+
custom_payload: |
87+
{
88+
username: 'Github',
89+
mention: 'channel',
90+
attachments: [{
91+
title: `New theme release - ${{ github.event.client_payload.release_name }}`,
92+
color: '#009223',
93+
fields: [
94+
{
95+
title: 'Tag',
96+
value: `${{ github.event.client_payload.tag_name }}`,
97+
short: true
98+
},
99+
{
100+
title: 'Author',
101+
value: `${{ github.event.client_payload.author }}`,
102+
short: true
103+
},
104+
{
105+
title: 'Preview URL',
106+
value: `${{ env.PREVIEW_URL }}`,
107+
short: true
108+
}]
109+
}]
110+
}
91111
env:
112+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_FRIENDS_OF_DOCS }}
92113
PREVIEW_URL: ${{ needs.call-docs-build-push.outputs.PREVIEW_URL }}
93114

94115

.github/workflows/notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ jobs:
7575
}]
7676
}
7777
env:
78-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
78+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DOCS_INCIDENT }}

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656

5757
# Upload the results to GitHub's code scanning dashboard.
5858
- name: Upload SARIF results to code scanning
59-
uses: github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
59+
uses: github/codeql-action/upload-sarif@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
6060
with:
6161
sarif_file: results.sarif

cleanup_log.txt

Lines changed: 929 additions & 0 deletions
Large diffs are not rendered by default.

config/_default/config.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ pygmentsUseClasses = true
77
enableGitInfo = true
88

99
[permalinks]
10+
agent = '/nginx-agent/:sections[1:]/:filename'
1011
amplify = '/nginx-amplify/:sections[1:]/:filename'
1112
controller = '/nginx-controller/:sections[1:]/:filename'
1213
mesh = '/nginx-service-mesh/:sections[1:]/:filename'
1314
modsec-waf = '/nginx-waf/:sections[1:]/:filename'
1415
nap-dos = '/nginx-app-protect-dos/:sections[1:]/:filename'
1516
nap-waf = '/nginx-app-protect-waf/:sections[1:]/:filename'
17+
nginxaas = '/nginxaas/azure/:sections[1:]/:filename'
1618
ngf = '/nginx-gateway-fabric/:sections[1:]/:filename'
19+
nic = '/nginx-ingress-controller/:sections[1:]/:filename'
1720
nim = '/nginx-instance-manager/:sections[1:]/:filename'
1821
nms = '/nginx-management-suite/:sections[1:]/:filename'
1922
unit = '/nginx-unit/:sections[1:]/:filename'
20-
agent = '/nginx-agent/:sections[1:]/:filename'
21-
nginxaas = '/nginxaas/azure/:sections[1:]/:filename'
2223

2324
[caches]
2425
[caches.modules]

content/includes/installation/add-nms-repo.md

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,39 @@ Add the NGINX Instance Manager repository:
3636

3737
{{%tab name="Debian, Ubuntu, Deb-Based"%}}
3838

39-
Add the NGINX Instance Manager repository:
40-
41-
- **Debian**
39+
1. Add the NGINX signing key:
4240

4341
```shell
44-
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/nms/debian `lsb_release -cs` nginx-plus\n" | sudo tee /etc/apt/sources.list.d/nms.list
45-
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
42+
wget -qO - https://cs.nginx.com/static/keys/nginx_signing.key \
43+
| gpg --dearmor \
44+
| sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
4645
```
4746

48-
<br>
47+
2. Add the NGINX Instance Manager repository:
4948

50-
- **Ubuntu**
49+
- **Debian**
5150

52-
```shell
53-
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/nms/ubuntu `lsb_release -cs` nginx-plus\n" | sudo tee /etc/apt/sources.list.d/nms.list
54-
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
55-
```
51+
```shell
52+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
53+
https://pkgs.nginx.com/nms/debian $(lsb_release -cs) nginx-plus\n" | \
54+
sudo tee /etc/apt/sources.list.d/nms.list
55+
56+
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx \
57+
https://cs.nginx.com/static/files/90pkgs-nginx
58+
```
59+
60+
<br>
61+
62+
- **Ubuntu**
63+
64+
```shell
65+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
66+
https://pkgs.nginx.com/nms/ubuntu $(lsb_release -cs) nginx-plus\n" | \
67+
sudo tee /etc/apt/sources.list.d/nms.list
68+
69+
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx \
70+
https://cs.nginx.com/static/files/90pkgs-nginx
71+
```
5672

5773
{{%/tab%}}
5874
{{</tabs>}}

content/includes/installation/clickhouse-defaults.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

content/includes/ngf/installation/expose-nginx-gateway-fabric.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ There are two options for accessing NGINX Gateway Fabric depending on the type o
5050

5151
NGINX Gateway Fabric uses the created service to update the **Addresses** field in the **Gateway Status** resource. Using a **LoadBalancer** service sets this field to the IP address and/or hostname of that service. Without a service, the pod IP address is used.
5252

53-
This gateway is associated with the NGINX Gateway Fabric through the **gatewayClassName** field. The default installation of NGINX Gateway Fabric creates a **GatewayClass** with the name **nginx**. NGINX Gateway Fabric will only configure gateways with a **gatewayClassName** of **nginx** unless you change the name via the `--gatewayclass` [command-line flag]({{< ref "/ngf/reference/cli-help.md#static-mode">}}).
53+
This gateway is associated with the NGINX Gateway Fabric through the **gatewayClassName** field. The default installation of NGINX Gateway Fabric creates a **GatewayClass** with the name **nginx**. NGINX Gateway Fabric will only configure gateways with a **gatewayClassName** of **nginx** unless you change the name via the `--gatewayclass` [command-line flag]({{< ref "/ngf/reference/cli-help.md#controller">}}).

content/includes/ngf/installation/nginx-plus/docker-registry-secret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
docs: "DOCS-000"
33
---
44

5-
{{< note >}} If you would rather pull the NGINX Plus image and push to a private registry, you can skip this specific step and instead follow [this step]({{< ref "/ngf/install/nginx-plus.md#pulling-an-image-for-local-use" >}}). {{< /note >}}
5+
{{< note >}} If you would rather pull the NGINX Plus image and push to a private registry, you can skip this specific step and instead follow [this step]({{< ref "/ngf/install/nginx-plus.md#pull-an-image-for-local-use" >}}). {{< /note >}}
66

77
If the `nginx-gateway` namespace does not yet exist, create it:
88

0 commit comments

Comments
 (0)