feat: option to assign user secrets to specific templates
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The payload names no files or tests, so begin by locating the existing user secrets feature in the Go codebase and how secrets are injected into workspaces. Work out where a template scope would need to be stored and checked, then confirm the expected behavior with the maintainers via the single existing comment. Done means a secret can be limited to chosen templates in the API, CLI and UI, and is injected only into workspaces built from those templates, with the default still applying to all.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Version: v2.39.1
Right now user secrets are applied to all workspaces by default. It would be really useful to have an option when creating or editing a secret to choose which template(s) it should be used on.
Why this is needed:
- Different templates have different environments and paths. For example, for Windows based templates the file paths will be completely different compared to Linux or Docker templates, so having the same secret injected everywhere doesn't always work.
- In general, it gives better flexibility and security to choose which workspaces get a specific secret based on the template instead of exposing every secret to all workspaces.
Expected behavior:
When adding/editing a secret in the UI or CLI, add a selector to either apply it to All templates (default) or pick specific templates where the secret should be injected.
- Ngôn ngữ chính
- Go
- Star
- 17.5k
- Fork
- 1.7k
- Merge trung bình
- 2 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 575
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 coder/coder
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
coder/coder#33007 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: token allow-list with a specific template ID returns 500 "column reference \"id\" is ambiguous"Có thể đã có người làm @stirby đã nhận 22 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
coder/coder#32059 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(cli): add `--agents-allowed` to `coder templates push`Có thể đã có người làm @jeremyruppel đã nhận 4 ngày trước. Đang mởcli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
coder/coder#32005 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(cli): add `--require-active-version` to `coder templates push`Có thể đã có người làm @jeremyruppel đã nhận 4 ngày trước. Đang mởcli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
coder/coder#32004 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(cli): add `--dormancy-auto-deletion` to `coder templates push`Có thể đã có người làm @jeremyruppel đã nhận 4 ngày trước. Đang mởcli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
coder/coder#32003 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
aji: divide-by-zero panic in Map/MapTolerant on empty items or when vCPU quota < per-worker CPUĐang mởfix p1-high scope:aji
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
scttfrdmn/burst-core#41 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
OneBusAway/watchdog#553 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement receiver/prometheus
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-telemetry/opentelemetry-collector-contrib#53959 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement P3 server
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] ModelAdapter controller ignores model.aibrix.ai/port and always dials the engine on 8000Đang mởarea/orchestration kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
vllm-project/aibrix#3746 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày