cli: add support for --kubeconfig flag
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Start by locating the CLI command setup and the existing Kubernetes client configuration, then trace how the KUBECONFIG environment variable is read. Verify the relevant command help and tests before implementing the flag; done means CLI requests can use an explicitly supplied kubeconfig path without relying on KUBECONFIG.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What problem are you facing?
Switching around kubeconfig files using the KUBECONFIG environment variable might be error prone (e.g. when running commands from history in distinct terminals).
How could Crossplane help solve your problem?
Kubectl and most k8s related clis support the --kubeconfig command line argument in order to support "stateless commands" that don't rely on KUBECONFIG environment variable being set
flux --help | grep '\--kubeconfig'
#> --kubeconfig string Path to the kubeconfig file to use for CLI requests.
kubectl cnpg --help | grep '\--kubeconfig'
#> --kubeconfig string Path to the kubeconfig file to use for CLI requests.
kyverno --help | grep 'kubeconfig'
# --kubeconfig string Paths to a kubeconfig. Only required if out-of-cluster.
velero --help | grep 'kubeconfig'
#> --kubeconfig string Path to the kubeconfig file to use to talk to the Kubernetes apiserver. If unset, try the environment variable KUBECONFIG, as well as in-cluster configuration
k9s --help | grep '\--kubeconfig'
#> --kubeconfig string Path to the kubeconfig file to use for CLI requests
- Ngôn ngữ chính
- Go
- Star
- 19
- Fork
- 31
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 52
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của crossplane/cli
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
crossplane/cli#282 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
crossplane/cli#384 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Constrain followed source symlinks to the project root during tar stagingCó thể đã có người làm @jonasz-lasut đã nhận 10 ngày trước. Đang mở
crossplane/cli#379 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
crossplane/cli#370 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
crossplane/cli#369 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của crossplane/cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
rossoctl/context-guru#346 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
prime-radiant-inc/evener#2883 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
gravitational/teleport#69805 ·
Maintainer thường phản hồi trong vòng 11 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Under Poisson sampling, the `PLDAccountant` composes the inner event both before and after samplingĐang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
google/differential-privacy#496 ·