Skip to content

[release-1.11] Fix forwarder URL (#599) - #600

Merged
knative-prow[bot] merged 1 commit into
knative-extensions:release-1.11from
pierDipi:cp-ffaf4f6f-v1.11
Oct 10, 2023
Merged

knative-prow[bot] merged 1 commit into
knative-extensions:release-1.11from
pierDipi:cp-ffaf4f6f-v1.11

Conversation

@pierDipi

@pierDipi pierDipi commented Oct 10, 2023 •

Copy link
Copy Markdown
Contributor

CP of #599

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

Changes

/kind

Fixes #

Release Note


Docs


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]>
@knative-prow

knative-prow Bot commented Oct 10, 2023

Copy link
Copy Markdown

@pierDipi: The label(s) kind/<kind> cannot be applied, because the repository doesn't have them.

Details

In response to this:

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

Changes

/kind

Fixes #

Release Note


Docs


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.

@knative-prow
knative-prow Bot requested review from cardil and krsna-m October 10, 2023 07:32
@knative-prow knative-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 10, 2023

@creydr creydr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Oct 10, 2023
@knative-prow

knative-prow Bot commented Oct 10, 2023

Copy link
Copy Markdown

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow
knative-prow Bot merged commit 03cc77c into knative-extensions:release-1.11 Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants