[feature] git clone repo upon initialization
Some checks failed
DevStar DevContainer Operator CI Pipeline - main branch / build-and-push-devstar-devcontainer-operator (push) Failing after 1m8s

This commit is contained in:
Mingchen Dai
2024-10-14 05:49:23 +00:00
parent 50e6da3137
commit b81c895162
5 changed files with 26 additions and 10 deletions

View File

@@ -65,6 +65,8 @@ type StatefulSetSpec struct {
Image string `json:"image"`
Command []string `json:"command"`
GitRepositoryURL string `json:"gitRepositoryURL"`
// +kubebuilder:validation:MinItems=1
// 至少包含一个 SSH Public Key 才能通过校验规则
SSHPublicKeyList []string `json:"sshPublicKeyList"`