Summary
kubara currently bootstraps Argo CD repository access mainly via HTTPS username + PAT/password.
Additional non-personal auth options should be supported, and PAT usage guidance should be clarified.
π§© Type of Issue
β¨ Feature request
π Description
Current setup:
- Argo CD repo access is configured using HTTPS credentials (
username + password/PAT).
Problem:
- PAT commonly means Personal Access Token, and in many setups it is tied to an individual user account.
- This creates a risk of person-bound access in platform automation.
Requested changes:
- Add additional Argo CD Git auth modes:
- SSH deploy key
- GitHub App
-
Keep existing HTTPS PAT mode fully supported (backward compatible).
-
Improve documentation and generated env guidance:
- State clearly that PAT usually means Personal Access Token and is often user-bound.
- Recommend a technical/machine account when PAT mode is used.
- Clarify that
ARGOCD_GIT_USERNAME can be provider-dependent and should be set to the technical account username.
- Include SSH host verification requirements in scope:
- Cover handling of trusted SSH host keys (
known_hosts / Unknown SSH Hosts).
- Keep secure defaults (strict host verification).
Acceptance criteria
- Existing PAT-based setups continue to work unchanged.
- SSH-based repo auth can be bootstrapped successfully.
- GitHub-App-based repo auth can be bootstrapped successfully.
- Docs/.env guidance explicitly recommends technical account + PAT when PAT mode is used.
- Docs clarify username behavior for PAT mode (provider-dependent).
- SSH host key requirements are documented, including failure behavior when host keys are missing.
- Tests cover secret generation/validation for all supported auth modes.
π§ͺ Steps to Reproduce (for bugs)
N/A (feature + documentation improvement)
β
Checklist
π Related Issues / References
π Additional Context / Logs
This combines capability and guidance:
- capability: SSH + GitHub App support
- guidance: safer PAT usage via technical account instead of personal account
- security scope for SSH: trusted host key handling (Unknown SSH Hosts)
Summary
kubara currently bootstraps Argo CD repository access mainly via HTTPS username + PAT/password.
Additional non-personal auth options should be supported, and PAT usage guidance should be clarified.
π§© Type of Issue
β¨ Feature request
π Description
Current setup:
username+password/PAT).Problem:
Requested changes:
Keep existing HTTPS PAT mode fully supported (backward compatible).
Improve documentation and generated env guidance:
ARGOCD_GIT_USERNAMEcan be provider-dependent and should be set to the technical account username.known_hosts/ Unknown SSH Hosts).Acceptance criteria
π§ͺ Steps to Reproduce (for bugs)
N/A (feature + documentation improvement)
β Checklist
π Related Issues / References
π Additional Context / Logs
This combines capability and guidance: