mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Include gatewayRefs in Linkerd Canary resources
Signed-off-by: Alex Leong <alex@buoyant.io>
This commit is contained in:
@@ -102,6 +102,13 @@ spec:
|
||||
port: 9898
|
||||
# container port number or name (optional)
|
||||
targetPort: 9898
|
||||
# Reference to the Service that the generated HTTPRoute would attach to.
|
||||
gatewayRefs:
|
||||
- name: podinfo
|
||||
namespace: test
|
||||
group: core
|
||||
kind: Service
|
||||
port: 9898
|
||||
analysis:
|
||||
# schedule interval (default 60s)
|
||||
interval: 30s
|
||||
|
||||
@@ -47,6 +47,12 @@ spec:
|
||||
port: 80
|
||||
targetPort: http
|
||||
portDiscovery: true
|
||||
gatewayRefs:
|
||||
- name: podinfo
|
||||
namespace: test
|
||||
group: core
|
||||
kind: Service
|
||||
port: 80
|
||||
analysis:
|
||||
interval: 15s
|
||||
threshold: 15
|
||||
@@ -106,6 +112,12 @@ spec:
|
||||
service:
|
||||
port: 9898
|
||||
portDiscovery: true
|
||||
gatewayRefs:
|
||||
- name: podinfo
|
||||
namespace: test
|
||||
group: core
|
||||
kind: Service
|
||||
port: 9898
|
||||
analysis:
|
||||
interval: 15s
|
||||
threshold: 15
|
||||
@@ -194,6 +206,12 @@ spec:
|
||||
service:
|
||||
port: 80
|
||||
targetPort: 9898
|
||||
gatewayRefs:
|
||||
- name: podinfo
|
||||
namespace: test
|
||||
group: core
|
||||
kind: Service
|
||||
port: 80
|
||||
analysis:
|
||||
interval: 15s
|
||||
threshold: 3
|
||||
|
||||
@@ -20,6 +20,12 @@ spec:
|
||||
port: 80
|
||||
targetPort: http
|
||||
portDiscovery: true
|
||||
gatewayRefs:
|
||||
- name: podinfo
|
||||
namespace: test
|
||||
group: core
|
||||
kind: Service
|
||||
port: 80
|
||||
analysis:
|
||||
interval: 15s
|
||||
threshold: 15
|
||||
|
||||
Reference in New Issue
Block a user