Repository navigation
Fix forwarder SINK URL - #599
Conversation
Downstream I'm getting this `SINK` value due to
the fact that `sinkURL` is now an `Addressable`:
```
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: sink-nwvhvrgz
namespace: test-fbszrpbn
spec:
template:
spec:
containers:
- env:
- name: NAME
value: sink-nwvhvrgz
- name: NAMESPACE
value: test-fbszrpbn
- name: SINK
value:
<nil> http://sink-nwvhvrgz-twzpetzr.test-fbszrpbn.svc.cluster.local <nil>: null
- name: EVENT_GENERATORS
value: forwarder
- name: EVENT_LOGS
value: logger
- name: K_CONFIG_LOGGING
value: '{"zap-logger-config":"{\n \"level\": \"info\",\n \"development\": false,\n \"outputPaths\": [\"stdout\"],\n \"errorOutputPaths\": [\"stderr\"],\n \"encoding\": \"json\",\n \"encoderConfig\": {\n \"timeKey\": \"ts\",\n \"levelKey\": \"level\",\n \"nameKey\": \"logger\",\n \"callerKey\": \"caller\",\n \"messageKey\": \"msg\",\n \"stacktraceKey\": \"stacktrace\",\n \"lineEnding\": \"\",\n \"levelEncoder\": \"\",\n \"timeEncoder\": \"iso8601\",\n \"durationEncoder\": \"\",\n \"callerEncoder\": \"\"\n }\n}\n"}'
- name: K_CONFIG_TRACING
value: '{"backend":"zipkin","debug":"false","sample-rate":"1","zipkin-endpoint":"http://cluster-collector-collector-headless.istio-system.svc:9411/api/v2/spans"}'
image: quay.io/openshift-knative/eventing/eventshub:v1.10
imagePullPolicy: IfNotPresent
name: eventshub-forwarder
serviceAccountName: sink-nwvhvrgz
```
Signed-off-by: Pierangelo Di Pilato <[email protected]>
|
/cherry-pick release-1.11 |
|
@pierDipi: once the present PR merges, I will cherry-pick it on top of release-1.11 in a new PR and assign it to you. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
creydr
left a comment
There was a problem hiding this comment.
Thanks for fixing this
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: creydr, pierDipi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@pierDipi: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Downstream I'm getting this `SINK` value due to
the fact that `sinkURL` is now an `Addressable`:
```
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: sink-nwvhvrgz
namespace: test-fbszrpbn
spec:
template:
spec:
containers:
- env:
- name: NAME
value: sink-nwvhvrgz
- name: NAMESPACE
value: test-fbszrpbn
- name: SINK
value:
<nil> http://sink-nwvhvrgz-twzpetzr.test-fbszrpbn.svc.cluster.local <nil>: null
- name: EVENT_GENERATORS
value: forwarder
- name: EVENT_LOGS
value: logger
- name: K_CONFIG_LOGGING
value: '{"zap-logger-config":"{\n \"level\": \"info\",\n \"development\": false,\n \"outputPaths\": [\"stdout\"],\n \"errorOutputPaths\": [\"stderr\"],\n \"encoding\": \"json\",\n \"encoderConfig\": {\n \"timeKey\": \"ts\",\n \"levelKey\": \"level\",\n \"nameKey\": \"logger\",\n \"callerKey\": \"caller\",\n \"messageKey\": \"msg\",\n \"stacktraceKey\": \"stacktrace\",\n \"lineEnding\": \"\",\n \"levelEncoder\": \"\",\n \"timeEncoder\": \"iso8601\",\n \"durationEncoder\": \"\",\n \"callerEncoder\": \"\"\n }\n}\n"}'
- name: K_CONFIG_TRACING
value: '{"backend":"zipkin","debug":"false","sample-rate":"1","zipkin-endpoint":"http://cluster-collector-collector-headless.istio-system.svc:9411/api/v2/spans"}'
image: quay.io/openshift-knative/eventing/eventshub:v1.10
imagePullPolicy: IfNotPresent
name: eventshub-forwarder
serviceAccountName: sink-nwvhvrgz
```
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Downstream I'm getting this `SINK` value due to
the fact that `sinkURL` is now an `Addressable`:
```
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: sink-nwvhvrgz
namespace: test-fbszrpbn
spec:
template:
spec:
containers:
- env:
- name: NAME
value: sink-nwvhvrgz
- name: NAMESPACE
value: test-fbszrpbn
- name: SINK
value:
<nil> http://sink-nwvhvrgz-twzpetzr.test-fbszrpbn.svc.cluster.local <nil>: null
- name: EVENT_GENERATORS
value: forwarder
- name: EVENT_LOGS
value: logger
- name: K_CONFIG_LOGGING
value: '{"zap-logger-config":"{\n \"level\": \"info\",\n \"development\": false,\n \"outputPaths\": [\"stdout\"],\n \"errorOutputPaths\": [\"stderr\"],\n \"encoding\": \"json\",\n \"encoderConfig\": {\n \"timeKey\": \"ts\",\n \"levelKey\": \"level\",\n \"nameKey\": \"logger\",\n \"callerKey\": \"caller\",\n \"messageKey\": \"msg\",\n \"stacktraceKey\": \"stacktrace\",\n \"lineEnding\": \"\",\n \"levelEncoder\": \"\",\n \"timeEncoder\": \"iso8601\",\n \"durationEncoder\": \"\",\n \"callerEncoder\": \"\"\n }\n}\n"}'
- name: K_CONFIG_TRACING
value: '{"backend":"zipkin","debug":"false","sample-rate":"1","zipkin-endpoint":"http://cluster-collector-collector-headless.istio-system.svc:9411/api/v2/spans"}'
image: quay.io/openshift-knative/eventing/eventshub:v1.10
imagePullPolicy: IfNotPresent
name: eventshub-forwarder
serviceAccountName: sink-nwvhvrgz
```
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Downstream I'm getting this
SINKvalue due tothe fact that
sinkURLis now anAddressable:Changes
/kind bug