Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
0461c850
Commit
0461c850
authored
7 years ago
by
Max Leonard Inden
Browse files
Options
Downloads
Patches
Plain Diff
docs: Run embedmd on both Docs and kube-prometheus README.md
parent
0124e8c2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-1
3 additions, 1 deletion
README.md
build.sh
+2
-0
2 additions, 0 deletions
build.sh
with
5 additions
and
1 deletion
README.md
+
3
−
1
View file @
0461c850
...
@@ -83,9 +83,11 @@ To compile the above and get each manifest in a separate file on disk use the fo
...
@@ -83,9 +83,11 @@ To compile the above and get each manifest in a separate file on disk use the fo
#!/usr/bin/env bash
#!/usr/bin/env bash
set
-e
set
-e
set
-x
set
-x
# only exit with zero if all commands of the pipeline exit successfully
set
-o
pipefail
# optional, but we would like to generate yaml, not json
# optional, but we would like to generate yaml, not json
jsonnet
-J
vendor
-m
manifests example.jsonnet | xargs
-I
{}
sh
-c
'cat $1 | gojsontoyaml > $1.yaml; rm $1'
--
{}
jsonnet
-J
vendor
-m
manifests example.jsonnet | xargs
-I
{}
sh
-c
'cat $1 | gojsontoyaml > $1.yaml; rm
-f
$1'
--
{}
```
```
...
...
This diff is collapsed.
Click to expand it.
build.sh
+
2
−
0
View file @
0461c850
#!/usr/bin/env bash
#!/usr/bin/env bash
set
-e
set
-e
set
-x
set
-x
# only exit with zero if all commands of the pipeline exit successfully
set
-o
pipefail
# optional, but we would like to generate yaml, not json
# optional, but we would like to generate yaml, not json
jsonnet
-J
vendor
-m
manifests example.jsonnet | xargs
-I
{}
sh
-c
'cat $1 | gojsontoyaml > $1.yaml; rm -f $1'
--
{}
jsonnet
-J
vendor
-m
manifests example.jsonnet | xargs
-I
{}
sh
-c
'cat $1 | gojsontoyaml > $1.yaml; rm -f $1'
--
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment