English | 简体中文
Arksec Harbor Image Scanner
is the scanner which focus on scanning container images in Harbor image repository.
Arksec Inc is a start-up security company providing complete cloud native security solution.
This project has been migrated to GitHub - arkseclabs/harbor-scanner.
$ kubectl create namespace arksec-system
$ kubectl apply --filename https://raw.githubusercontent.com/arksec-cn/harbor-scanner/main/all-in-one.yaml --namespace arksec-system
- Kubernetes 1.16+
- Helm 3+
To install ArkSec Harbor Scanner on a Kubernetes cluster with kubectl:
- Run the following command to install ArkSec Harbor Scanner and its dependencies:
$ kubectl create namespace arksec-system
$ kubectl apply --filename https://raw.githubusercontent.com/arksec-cn/harbor-scanner/main/all-in-one.yaml --namespace arksec-system
- Monitor the installation using the following command until all components show a Running status:
$ kubectl get pods --namespace arksec-system --watch
- The scanner will listen on node port 30777:
$ kubectl get svc --namespace arksec-system
To install ArkSec Harbor Scanner on a Kubernetes cluster with helm:
- Get Chart
$ git clone https://github.com/arksec-cn/harbor-scanner.git
- Install Chart
$ helm upgrade [RELEASE_NAME] chart/harbor-scanner/ --install --create-namespace --namespace [RELEASE_NAMESPACE]
See helm install for command documentation.
- Add ArkSec Harbor Scanner Adapter
- Add Succeeded.
- Scan an artifact
$ kubectl delete --filename https://raw.githubusercontent.com/arksec-cn/harbor-scanner/main/all-in-one.yaml --namespace arksec-system
$ kubectl delete namespace arksec-system
$ helm uninstall [RELEASE_NAME] --namespace [RELEASE_NAMESPACE]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Copyright (c) 2020-2021 ArkSec
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0