qbec
qbec copied to clipboard
configure kubernetes objects on multiple clusters using jsonnet
```bash echo "{a : '^/v1/abc-[\w-.]+/xyz/[\w-.]+$'}" > a.jsonnet qbec fmt a.jsonnet ``` ``` qbec fmt a.jsonnet panic: Badly formatted string, should have been caught in lexer. goroutine 1 [running]: github.com/google/go-jsonnet/internal/formatter.(*EnforceStringStyle).LiteralString(0xc0001d38f0, {0x265b158,...
This is initial foray into what supporting cue with qbec might look like. A component can be written with cue in addition to jsonnet, json and yaml. Implementation is bare-bones...
Haven't seen this before but something that could be cleaned up if possible https://github.com/splunk/qbec/actions 
qbec validate should perform a server-side dry-run using the options provided [here](https://github.com/kubernetes/apimachinery/blob/cfc896c115ebf9604c335f041e6e03fadf7ed24c/pkg/apis/meta/v1/types.go). this will ensure the validate step runs through admission webhooks configured on the Kubernetes API server, and make...
Update https://github.com/splunk/qbec/blob/bd96b056d1f91a4d9061da6ed7e56a8ff52f654d/internal/remote/query_test.go#L101 Requires fix for https://github.com/kubernetes/kubernetes/issues/107277
Implements a custom helm3 data source and provides examples of use, using a pattern that keeps all helm3 values and configuration in one place with the exception of the computed...
As reported by a user ``` Warning: Calling bottle :unneeded is deprecated! There is no replacement. Please report this issue to the splunk/tap tap (not Homebrew/brew or Homebrew/core): /usr/local/Homebrew/Library/Taps/splunk/homebrew-tap/qbec.rb:9 ```...
I want a component dependency resolution. e.g. component A is dependent on component B, B must be applied before A. currently, it seems we can't define order of component apply....
This PR adds support for passing `--api-versions` to helm template command. Many charts containing lookup functions, which allow to check if Kubernetes cluster supports specific apiVersions https://helm.sh/docs/chart_template_guide/functions_and_pipelines/#using-the-lookup-function
When both pristine exists, most problably last apply operation was done via kubectl, thus it contains more actual data than qbec pristine. Eg. ``` qbec show default | kubectl apply...