Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gitworkflows committed Dec 9, 2023
1 parent 886d9d1 commit ba3a533
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
blank_issues_enabled: false
contact_links:
- name: Support Question
url: https://github.com/aquasecurity/k8s-node-collector/discussions
url: https://github.com/khulnasoft-lab/k8s-node-collector/discussions
about: If you have a question about k8s node collector.
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
Remove this section if you don't have related PRs.

## Checklist
- [ ] I've read the [guidelines for contributing](https://github.com/aquasecurity/k8s-node-collector/blob/main/CONTRIBUTING.md) to this repository.
- [ ] I've read the [guidelines for contributing](https://github.com/khulnasoft-lab/k8s-node-collector/blob/main/CONTRIBUTING.md) to this repository.
- [ ] I've added tests that prove my fix is effective or that my feature works.
- [ ] I've updated the [documentation](https://github.com/aquasecurity/k8s-node-collector/tree/main/docs) with the relevant information (if needed).
- [ ] I've updated the [documentation](https://github.com/khulnasoft-lab/k8s-node-collector/tree/main/docs) with the relevant information (if needed).
- [ ] I've added usage information (if the PR introduces new options)
- [ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).
2 changes: 1 addition & 1 deletion .github/workflows/release-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Scan Node Collector image for vulnerabilities
uses: aquasecurity/trivy-action@master
with:
image-ref: ghcr.io/aquasecurity/node-collector:${{ github.sha }}-amd64
image-ref: ghcr.io/khulnasoft-lab/node-collector:${{ github.sha }}-amd64
exit-code: "1"
ignore-unfixed: true
severity: CRITICAL,HIGH
Expand Down
22 changes: 11 additions & 11 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ changelog:
- '^release'
dockers:
- image_templates:
- "ghcr.io/aquasecurity/node-collector:{{ .Version }}-amd64"
- "ghcr.io/khulnasoft-lab/node-collector:{{ .Version }}-amd64"
use: buildx
goos: linux
dockerfile: build/node-collector/Dockerfile
Expand All @@ -52,15 +52,15 @@ dockers:
build_flag_templates:
- "--label=org.opencontainers.image.title=node-collector"
- "--label=org.opencontainers.image.description=collect node info"
- "--label=org.opencontainers.image.vendor=Aqua Security"
- "--label=org.opencontainers.image.vendor=Khulnasoft Security"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.source=https://github.com/aquasecurity/node-collector"
- "--label=org.opencontainers.image.source=https://github.com/khulnasoft-lab/node-collector"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.documentation=https://aquasecurity.github.io/node-collector/v{{ .Version }}/"
- "--label=org.opencontainers.image.documentation=https://khulnasoft-lab.github.io/node-collector/v{{ .Version }}/"
- "--platform=linux/amd64"
- image_templates:
- "ghcr.io/aquasecurity/node-collector:{{ .Version }}-arm64"
- "ghcr.io/khulnasoft-lab/node-collector:{{ .Version }}-arm64"
use: buildx
goos: linux
dockerfile: build/node-collector/Dockerfile
Expand All @@ -70,18 +70,18 @@ dockers:
build_flag_templates:
- "--label=org.opencontainers.image.title=node-collector"
- "--label=org.opencontainers.image.description=Keeps node-collector resources updated"
- "--label=org.opencontainers.image.vendor=Aqua Security"
- "--label=org.opencontainers.image.vendor=Khulnasoft Security"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.source=https://github.com/aquasecurity/node-collector"
- "--label=org.opencontainers.image.source=https://github.com/khulnasoft-lab/node-collector"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.documentation=https://aquasecurity.github.io/node-collector/v{{ .Version }}/"
- "--label=org.opencontainers.image.documentation=https://khulnasoft-lab.github.io/node-collector/v{{ .Version }}/"
- "--platform=linux/arm64"
docker_manifests:
- name_template: "ghcr.io/aquasecurity/node-collector:{{ .Version }}"
- name_template: "ghcr.io/khulnasoft-lab/node-collector:{{ .Version }}"
image_templates:
- "ghcr.io/aquasecurity/node-collector:{{ .Version }}-amd64"
- "ghcr.io/aquasecurity/node-collector:{{ .Version }}-arm64"
- "ghcr.io/khulnasoft-lab/node-collector:{{ .Version }}-amd64"
- "ghcr.io/khulnasoft-lab/node-collector:{{ .Version }}-arm64"
signs:
- cmd: cosign
signature: "${artifact}.sig"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![GitHub Release][release-img]][release]
[![Build Action][action-build-img]][action-build]
[![Release snapshot Action][action-release-snapshot-img]][action-release-snapshot]
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/aquasecurity/k8s-node-collector/blob/main/LICENSE)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/khulnasoft-lab/k8s-node-collector/blob/main/LICENSE)

# k8s-node-collector

Expand Down Expand Up @@ -320,9 +320,9 @@ kubectl logs node-collector-ng2z7
kubectl delete -f job.yaml
```

[release-img]: https://img.shields.io/github/release/aquasecurity/k8s-node-collector.svg?logo=github
[release]: https://github.com/aquasecurity/k8s-node-collector/releases
[action-build-img]: https://github.com/aquasecurity/k8s-node-collector/actions/workflows/build.yaml/badge.svg
[action-build]: https://github.com/aquasecurity/k8s-node-collector/actions/workflows/build.yaml
[action-release-snapshot-img]: https://github.com/aquasecurity/k8s-node-collector/actions/workflows/release-snapshot.yaml/badge.svg
[action-release-snapshot]: https://github.com/aquasecurity/k8s-node-collector/actions/workflows/release-snapshot.yaml
[release-img]: https://img.shields.io/github/release/khulnasoft-lab/k8s-node-collector.svg?logo=github
[release]: https://github.com/khulnasoft-lab/k8s-node-collector/releases
[action-build-img]: https://github.com/khulnasoft-lab/k8s-node-collector/actions/workflows/build.yaml/badge.svg
[action-build]: https://github.com/khulnasoft-lab/k8s-node-collector/actions/workflows/build.yaml
[action-release-snapshot-img]: https://github.com/khulnasoft-lab/k8s-node-collector/actions/workflows/release-snapshot.yaml/badge.svg
[action-release-snapshot]: https://github.com/khulnasoft-lab/k8s-node-collector/actions/workflows/release-snapshot.yaml
2 changes: 1 addition & 1 deletion cmd/node-collector/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import command "github.com/aquasecurity/k8s-node-collector/pkg/command"
import command "github.com/khulnasoft-lab/k8s-node-collector/pkg/command"

func main() {
command.Execute()
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/aquasecurity/k8s-node-collector
module github.com/khulnasoft-lab/k8s-node-collector

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
hostPID: true
containers:
- name: node-collector
image: ghcr.io/aquasecurity/node-collector:0.0.9
image: ghcr.io/khulnasoft-lab/node-collector:0.0.9
command: ["node-collector"]
volumeMounts:
- name: var-lib-etcd
Expand Down
2 changes: 1 addition & 1 deletion pkg/command/k8s.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/aquasecurity/k8s-node-collector/pkg/collector"
"github.com/khulnasoft-lab/k8s-node-collector/pkg/collector"
"github.com/spf13/cobra"
)

Expand Down

0 comments on commit ba3a533

Please sign in to comment.