Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ijaz Ahmad
ksonnet
Commits
f245c3e5
Commit
f245c3e5
authored
Aug 07, 2018
by
Jan Willies
Browse files
update example with new syntax
Signed-off-by:
Jan Willies
<
jan.willies@accenture.com
>
parent
af245809
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pkg/env/data.go
pkg/env/data.go
+2
-1
No files found.
pkg/env/data.go
View file @
f245c3e5
...
...
@@ -26,10 +26,11 @@ const (
var
DefaultOverrideData
=
[]
byte
(
`local base = import "base.libsonnet";
// uncomment if you reference ksonnet-lib
// local k = import "k.libsonnet";
// local deployment = k.apps.v1beta2.deployment;
base + {
// Insert user-specified overrides here. For example if a component is named \"nginx-deployment\", you might have something like:\n")
// "nginx-deployment"+:
k.
deployment.mixin.metadata.
l
abels({foo: "bar"})
// "nginx-deployment"+: deployment.mixin.metadata.
withL
abels({foo: "bar"})
}
`
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment