linkerd2/controller/tap
Kevin Leimkuhler b6aad75b35
Add `operationID` field to tap openapi response (#4245)
This fixes an issue users are experiencing when upgrading from from Linkerd
2.6 to 2.7 and use the [kubernetes-external-secrets]() project.

The change introduced by #3700 resulted in the tap service showing up in the
`/openapi/v2` API response. I confirmed this with a local build.

A dependency within the project expects the `operationID` field to be present
in the swagger definition. It is optional as stated in the
[spec](https://swagger.io/docs/specification/paths-and-operations/). It's
purpose is to identify an operation and should be unique.

This change adds that field to tap service swagger spec. While this can be
fixed in the KES dependency, it certainly does not hurt to add and other
libraries may similarly expect this field.

Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com>
2020-04-15 09:41:06 -07:00
..
apiserver.go Check for extension server certificate (#4062) 2020-02-28 13:39:02 -08:00
apiserver_test.go Check for extension server certificate (#4062) 2020-02-28 13:39:02 -08:00
client.go Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
handlers.go Add `operationID` field to tap openapi response (#4245) 2020-04-15 09:41:06 -07:00
handlers_test.go Use `t.Name()` instead of `t.Name` in tests (#3970) 2020-01-27 09:17:19 -05:00
server.go Add kubectl-style label selectors (#4120) 2020-03-20 10:45:06 -05:00
server_test.go Service Mirroring Component (#4028) 2020-03-02 21:16:08 +02:00