Manage Git Servers
Git Server is responsible for integration with Version Control System, whether it is GitHub, GitLab, Bitbucket, or Gerrit.
The Git Server is set via the global.gitProviders parameter of the values.yaml file.
To view the current Git Server, you can open Portal Configuration -> Git Servers and inspect the following properties:
- Git Server status and name - displays the Git Server status, which depends on the Git Server integration status (Success/Failed).
- Git Server properties - displays the Git Server type, its host address, username, SSH/HTTPS port, public and private SSH keys.
- Open documentation - opens the "Manage Git Servers" documentation page.
- Undo/Save changes - these buttons apply or revert changes made to the Git Server.
- Add a new Git Server - add a new blank to specify the new Git Server's parameters.
- Delete a Git Server - deletes the Git Server after confirmation.
View Authentication Data​
To view authentication data that is used to connect to the Git server, use kubectl describe
command as follows:
kubectl describe GitServer git_server_name -n krci
Delete Git Server​
There are two ways for deleting Git server: using KubeRocketCI portal or CLI.
- Portal
- CLI
To delete a Git server using KubeRocketCI portal, follow the steps below:
-
Navigate to KubeRocketCI portal -> Configuration -> Version Control System.
-
In the Version Control System tab, click the bin icon:
- In the confirmation window, enter confirm and click Delete.
To remove a Git Server from the Git Servers list, utilize the kubectl delete
command as follows:
kubectl delete GitServer git_server_name -n krci