git clone https://github.com/bitnami/charts.git
cd charts/bitnami/kube-prometheus
bash update-crds.sh
Create a Root CA, Intermediate CA, and Server certificate
- https://jamielinux.com/docs/openssl-certificate-authority/create-the-root-pair.html
- https://jamielinux.com/docs/openssl-certificate-authority/create-the-intermediate-pair.html
- https://jamielinux.com/docs/openssl-certificate-authority/sign-server-and-client-certificates.html
bash root-setup.sh
bash int-setup.sh
bash server-setup.sh
I hereby claim:
- I am crandles on github.
- I am crandles (https://keybase.io/crandles) on keybase.
- I have a public key ASB0W1klAxQLO1IgCfD_xz1l96XZVCXWUjfAAiCckbTuewo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Small utility function based on yq to extract openAPIV3Schema from CRD | |
# example: crd2jsonschema.sh ./crd-alertmanager.yaml | |
set -e | |
function crd2jsonschema() { | |
set -e | |
local xkgroup="x-kubernetes-group-version-kind" | |
local document="$1" | |
local openAPIV3Schema=$(mktemp -u) |