trustbuilder

command module
v0.0.0-...-022452b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 12 Imported by: 0

README

Trustbuilder



Trustbuilder is custom-controller and custom-resource that allows for automatic creation of stores for trusted certificates which include PEM files and Java Keystore (JKS) files. The custom resource CertificatePackage defines an output certificate store and a selector that identifies which secrets/configmaps contain certificates that should be added to the indicated certificate store.


CertificatePackage Resource Spec
resourceType: "output resource type (secret/configmap) - required"
resourceName: "output resource name - required"
key: "key within the output resource data to place the certificate store - required"
passwordSecret: "secret containing the password to sign JKS keystore with - required only for JKS type only"
passwordSecretKey: "key within the passwordSecret containing the password data - required only for JKS type only"
addClusterCA: "(true/false) include the cluster CA in the certificate store. Default: false"
selector: "label selector that selects which secrets contain the source trusted certificates"
Source Trusted Certificates

Secrets and configMaps to be used as sources of trusted certificates should have the annotation trustbuilder.directv.com/trustedcertificate: "true" in addition to a common set of labels that match the selector in the CertificatePackage object.


Installation
make install
make deploy IMG=<trustbuilder-image-tag>

*Developed using the Kubebuilder Framework, https://github.com/kubernetes-sigs/kubebuilder

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the trustbuilder v1 API group +kubebuilder:object:generate=true +groupName=trustbuilder.directv.com
Package v1 contains API Schema definitions for the trustbuilder v1 API group +kubebuilder:object:generate=true +groupName=trustbuilder.directv.com

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL