GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jetstack/jetstack-secure: Open-source components of CyberArk Certificate Manager for Kubernetes Discovery.

BranchesTags
Open more actions menu

Latest commit

 

History

1,374 Commits
1,374 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
api
api
 
 
cmd
cmd
 
 
deploy/charts
deploy/charts
 
 
docs/datagatherers
docs/datagatherers
 
 
examples
examples
 
 
hack
hack
 
 
internal
internal
 
 
make
make
 
 
pkg
pkg
 
 
.envrc.template
.envrc.template
 
 
.gitignore
.gitignore
 
 
.golangci.yaml
.golangci.yaml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
LICENSES
LICENSES
 
 
Makefile
Makefile
 
 
OWNERS
OWNERS
 
 
OWNERS_ALIASES
OWNERS_ALIASES
 
 
README.md
README.md
 
 
RELEASE.md
RELEASE.md
 
 
agent.yaml
agent.yaml
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
klone.yaml
klone.yaml
 
 
main.go
main.go
 
 

Repository files navigation

Discovery Agent

tests Go Reference Go Report Card

"The agent" manages your machine identities across Cloud Native Kubernetes and OpenShift environments and builds a detailed view of the enterprise security posture.

Installation

Please review the documentation for the agent.

Detailed installation instructions are available for a variety of methods.

Local Execution

To build and run a version from master:

go run main.go agent --agent-config-file ./path/to/agent/config/file.yaml -p 0h1m0s

You can configure the agent to perform one data gathering loop and output the data to a local file:

go run . agent \
   --agent-config-file examples/one-shot-secret.yaml \
   --one-shot \
   --output-path output.json

Some examples of agent configuration files:

  • ./agent.yaml.
  • ./examples/one-shot-secret.yaml.
  • ./examples/cert-manager-agent.yaml.

You might also want to run a local echo server to monitor requests sent by the agent:

go run main.go echo

Metrics

The agent exposes its metrics through a Prometheus server, on port 8081.

The Prometheus server is disabled by default but can be enabled by passing the --enable-metrics flag to the agent binary.

If you deploy the agent using the venafi-kubernetes-agent Helm chart, the metrics server will be enabled by default, on port 8081.

If you use the Prometheus Operator, you can use --set metrics.podmonitor.enabled=true to deploy a PodMonitor resource, which will add the venafi-kubernetes-agent metrics to your Prometheus server.

The following metrics are collected:

  • Go collector: via the default registry in Prometheus client_golang.
  • Process collector: via the default registry in Prometheus client_golang.
  • Agent metrics: data_readings_upload_size: Data readings upload size (in bytes) sent by the in-cluster agent.

End to end testing

An end to end test script is available in the ./hack/e2e/test.sh directory. It is configured to run in CI in the e2e.yaml GitHub Actions workflow. To run the script you will need to add the test-e2e label to the PR. The script creates a cluster in GKE and cleanups after itself unless the keep-e2e-cluster label is set on the PR. Adding that label will leave the cluster running for further debugging but it will incur costs so manually delete the cluster when done. Add keep-e2e-cluster before test-e2e, because test-e2e starts the run immediately and the labels are read as they were at that moment.

About

Open-source components of CyberArk Certificate Manager for Kubernetes Discovery.

www.cyberark.com/products/certificate-manager-for-kubernetes/

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

260 stars

Watchers

20 watching

Forks

28 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.