Skip to content

How to use CRDs when going pure Jsonnet #1562

Answered by paulfantom
BeyondEvil asked this question in Q&A
Discussion options

You must be logged in to vote

CRDs are imported by including prometheus-operator library in here and later they are "printed out" as part of manifestation. Library itself imports them from plain json files in here

CRDs can be referenced directly in kube-prometheus as objects in $.prometheusOperator.0*. This allows us to do tricks like putting CRDs into a separate directory to have dedicated setup manifests

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BeyondEvil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants