Skip to content

Commit f33719c

Browse files
update README.md
1 parent efc79cc commit f33719c

2 files changed

Lines changed: 58 additions & 20 deletions

File tree

README.md

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,25 @@ ingress:
160160
existingSecret: ""
161161
```
162162
163+
- If you have [Gateway API](https://gateway-api.sigs.k8s.io/) installed, you may specify `.Values.httpRoute` with `.Values.httpRoute.parentRefs` to create `HTTPRoute` resource.
164+
For example, if you have `Traefik` installed as Gateway API (named `traefik-gateway` in `traefik` namespace), you may use the following configuration:
165+
166+
```yaml
167+
# -- HTTPRoute
168+
httpRoute:
169+
# -- Enable the HTTPRoute
170+
enabled: true
171+
# -- Set annotations for HTTPRoute.
172+
annotations: {}
173+
# -- Set labels for HTTPRoute
174+
labels: {}
175+
# -- Required! List of parent Gateway references this HTTPRoute should attach to
176+
# ref: https://gateway-api.sigs.k8s.io/reference/api-spec/main/spec/#parentreference
177+
parentRefs:
178+
- name: traefik-gateway
179+
namespace: traefik
180+
```
181+
163182
- Install the chart
164183

165184
```console
@@ -2684,18 +2703,18 @@ kubectl -n $NAMESPACE delete secret codefresh-certs-server
26842703

26852704
For Windows runtimes, you must perform the following steps:
26862705

2687-
1. Obtain a node registration token (you can generate it in any account with the "privateNodes" feature enabled).
2688-
2. Prepare the following parameters (the same for all Windows nodes):
2689-
* The node registration token
2690-
* The correct Docker root path (may vary)
2691-
* The platform API address
2692-
3. On each Windows node, one by one:
2693-
* Run the following PowerShell script:
2694-
[docker-vm/hybrid/gen-docker-certs.ps1 at master · codefresh-io/docker-vm](https://github.com/codefresh-io/docker-vm/blob/master/hybrid/gen-docker-certs.ps1)
2695-
* Provide the IP address of the specific node when running the script.
2706+
1. Obtain a node registration token (you can generate it in any account with the "privateNodes" feature enabled).
2707+
2. Prepare the following parameters (the same for all Windows nodes):
2708+
* The node registration token
2709+
* The correct Docker root path (may vary)
2710+
* The platform API address
2711+
3. On each Windows node, one by one:
2712+
* Run the following PowerShell script:
2713+
[docker-vm/hybrid/gen-docker-certs.ps1 at master · codefresh-io/docker-vm](https://github.com/codefresh-io/docker-vm/blob/master/hybrid/gen-docker-certs.ps1)
2714+
* Provide the IP address of the specific node when running the script.
26962715
4. After the script completes, restart the Docker service on the node to ensure the new certificates are applied.
26972716

2698-
Repeat these steps for every Windows node in the runtime.
2717+
Repeat these steps for every Windows node in the runtime.
26992718

27002719
### Consul Error: Refusing to rejoin cluster because the server has been offline for more than the configured server_rejoin_age_max
27012720

README.md.gotmpl

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,25 @@ ingress:
161161
existingSecret: ""
162162
```
163163

164+
- If you have [Gateway API](https://gateway-api.sigs.k8s.io/) installed, you may specify `.Values.httpRoute` with `.Values.httpRoute.parentRefs` to create `HTTPRoute` resource.
165+
For example, if you have `Traefik` installed as Gateway API (named `traefik-gateway` in `traefik` namespace), you may use the following configuration:
166+
167+
```yaml
168+
# -- HTTPRoute
169+
httpRoute:
170+
# -- Enable the HTTPRoute
171+
enabled: true
172+
# -- Set annotations for HTTPRoute.
173+
annotations: {}
174+
# -- Set labels for HTTPRoute
175+
labels: {}
176+
# -- Required! List of parent Gateway references this HTTPRoute should attach to
177+
# ref: https://gateway-api.sigs.k8s.io/reference/api-spec/main/spec/#parentreference
178+
parentRefs:
179+
- name: traefik-gateway
180+
namespace: traefik
181+
```
182+
164183
- Install the chart
165184

166185
```console
@@ -2700,18 +2719,18 @@ kubectl -n $NAMESPACE delete secret codefresh-certs-server
27002719

27012720
For Windows runtimes, you must perform the following steps:
27022721

2703-
1. Obtain a node registration token (you can generate it in any account with the "privateNodes" feature enabled).
2704-
2. Prepare the following parameters (the same for all Windows nodes):
2705-
* The node registration token
2706-
* The correct Docker root path (may vary)
2707-
* The platform API address
2708-
3. On each Windows node, one by one:
2709-
* Run the following PowerShell script:
2710-
[docker-vm/hybrid/gen-docker-certs.ps1 at master · codefresh-io/docker-vm](https://github.com/codefresh-io/docker-vm/blob/master/hybrid/gen-docker-certs.ps1)
2711-
* Provide the IP address of the specific node when running the script.
2722+
1. Obtain a node registration token (you can generate it in any account with the "privateNodes" feature enabled).
2723+
2. Prepare the following parameters (the same for all Windows nodes):
2724+
* The node registration token
2725+
* The correct Docker root path (may vary)
2726+
* The platform API address
2727+
3. On each Windows node, one by one:
2728+
* Run the following PowerShell script:
2729+
[docker-vm/hybrid/gen-docker-certs.ps1 at master · codefresh-io/docker-vm](https://github.com/codefresh-io/docker-vm/blob/master/hybrid/gen-docker-certs.ps1)
2730+
* Provide the IP address of the specific node when running the script.
27122731
4. After the script completes, restart the Docker service on the node to ensure the new certificates are applied.
27132732

2714-
Repeat these steps for every Windows node in the runtime.
2733+
Repeat these steps for every Windows node in the runtime.
27152734

27162735
### Consul Error: Refusing to rejoin cluster because the server has been offline for more than the configured server_rejoin_age_max
27172736

0 commit comments

Comments
 (0)