Skip to content

Commit cf7b892

Browse files
committed
jsonnet: establish convention for components default fields
1 parent 31d86b7 commit cf7b892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonnet/kube-prometheus/components/prometheus.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
local defaults = {
1+
local defaults = spec {
22
local defaults = self,
33
// Convention: Top-level fields related to CRDs are public, other fields are hidden
44
// If there is no CRD for the component, everything is hidden in defaults.

0 commit comments

Comments
 (0)