add full uri any git repos
All checks were successful
docker-build / Build image (push) Successful in 43s
All checks were successful
docker-build / Build image (push) Successful in 43s
This commit is contained in:
@@ -81,7 +81,7 @@ metadata:
|
||||
name: cleanup-job
|
||||
spec:
|
||||
gitlabSecretRef: gitlab-credentials
|
||||
repositoryURL: mygroup/myrepo
|
||||
repositoryURL: https://gitlab.example.com/mygroup/myrepo.git
|
||||
branch: main
|
||||
scriptPath: scripts/cleanup.sh
|
||||
serviceAccountName: backup-sa
|
||||
@@ -97,7 +97,7 @@ metadata:
|
||||
spec:
|
||||
schedule: "0 2 * * *"
|
||||
gitlabSecretRef: gitlab-credentials
|
||||
repositoryURL: mygroup/myrepo
|
||||
repositoryURL: https://gitlab.example.com/mygroup/myrepo.git
|
||||
branch: main
|
||||
scriptPath: scripts/backup.sh
|
||||
serviceAccountName: backup-sa
|
||||
@@ -119,7 +119,7 @@ kubectl apply -f your-gitlabjobrunner.yaml
|
||||
|----------------------|---------|----------|-------------------------------------------------------------------------------|
|
||||
| `schedule` | string | No | Cron schedule for recurring jobs. If empty, runs as one-time Job |
|
||||
| `gitlabSecretRef` | string | Yes | Name of Secret containing GITLAB_URL and GITLAB_TOKEN |
|
||||
| `repositoryURL` | string | Yes | GitLab repository path (e.g., "group/project") |
|
||||
| `repositoryURL` | string | Yes | GitLab repository (full URL or relative path like "group/project") |
|
||||
| `branch` | string | No | Git branch to checkout (default: "main") |
|
||||
| `scriptPath` | string | Yes | Relative path to script in repository |
|
||||
| `image` | string | No | Container image for git clone (default: "bitnami/git:latest") |
|
||||
|
||||
Reference in New Issue
Block a user