linkerd2/cli/cmd
Alex Leong abb1e69fbd
CLI: add `--opaque-ports` flag to `inject` (#5851)
Continuation of https://github.com/linkerd/linkerd2/pull/5721/

The `config.linkerd.io/opaque-ports` annotation can now be set using the `--opaque-ports` flag on `inject`

Example

```bash
$ linkerd inject /path/to/manifest.yaml --opaque-ports 3000,5000-6000,mysql
```

This annotation is the only one which is applied to services.

Signed-off-by: Alex Leong <alex@buoyant.io>
Co-authored-by: Mayank Shah <mayankshah1614@gmail.com>
2021-03-02 08:59:09 -08:00
..
testdata CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
alpha.go Remove SMI-Metrics charts and commands (#4843) 2020-08-24 14:35:33 -07:00
check.go Add support for CLI extensions (#5762) 2021-02-24 13:26:21 -08:00
check_test.go healthcheck: simplify Checker construction with a builder (#5475) 2021-01-06 14:32:39 -08:00
completion.go Fix CLI zsh completion (#5285) 2020-12-02 15:37:57 -05:00
completion_test.go
controller-metrics.go cli: reorganise diagnostics subcommand (#5205) 2021-02-25 12:53:47 +05:30
diagnostics.go cli: reorganise diagnostics subcommand (#5205) 2021-02-25 12:53:47 +05:30
doc.go CLI: Remove the `--disable-tap` flag from inject (#5671) 2021-02-11 10:01:53 -05:00
endpoints.go Move CP check after the readiness check (#5848) 2021-03-01 19:47:25 -05:00
endpoints_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
identity.go Detect default ns for metrics, identity, routes and profile subcommands (#5530) 2021-01-15 08:51:26 -05:00
inject.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
inject_test.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
inject_util.go Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
install-cni-plugin.go extension: Add new jaeger binary (#5278) 2020-11-25 20:10:35 +05:30
install-cni-plugin_test.go docker: Access container images via cr.l5d.io (#5756) 2021-02-17 14:31:54 -08:00
install-sp.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
install-sp_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
install.go Fix 'linkerd install' current installs detection (#5783) 2021-02-22 10:00:55 -05:00
install_cni_helm_test.go Removed "do-not-edit" entries from values.yaml files (#5758) 2021-02-19 09:17:45 -05:00
install_helm_test.go Removed "do-not-edit" entries from values.yaml files (#5758) 2021-02-19 09:17:45 -05:00
install_test.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
main_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
metrics.go cli: reorganise diagnostics subcommand (#5205) 2021-02-25 12:53:47 +05:30
metrics_diagnostics_util.go
metrics_diagnostics_util_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
options.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
profile.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
profile_test.go viz: add viz profile command (#5621) 2021-02-01 19:02:46 -05:00
range_slice.go
range_slice_test.go
repair.go install: persist helm override flags for upgrades (#5653) 2021-02-17 23:59:17 +05:30
root.go cli: reorganise diagnostics subcommand (#5205) 2021-02-25 12:53:47 +05:30
test_helper.go Refactor upgrade tests to remove use of golden files (#4860) 2020-08-11 09:22:29 -07:00
uninject.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
uninject_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
uninstall.go cli: err about extensions for uninstall (#5723) 2021-02-16 13:27:15 +05:30
upgrade.go cli: Support helm override flags with upgrades (#5726) 2021-02-12 21:26:17 +05:30
upgrade_legacy.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
upgrade_test.go Provide CA cert as env var to identity controller. (#5690) 2021-02-22 10:30:43 -05:00
version.go Extract from public-api all the Prometheus dependencies, and moves things into a new viz component 'linkerd-metrics-api' (#5560) 2021-01-21 18:26:38 -05:00
version_test.go Extract from public-api all the Prometheus dependencies, and moves things into a new viz component 'linkerd-metrics-api' (#5560) 2021-01-21 18:26:38 -05:00