-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: review keptntaskdefinition examples (#3085)
Signed-off-by: RealAnna <[email protected]>
- Loading branch information
Showing
16 changed files
with
252 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -406,7 +406,6 @@ moq | |
mowies | ||
mpod | ||
multigroup | ||
multipe | ||
mutatingwebhookconfigurations | ||
mwc | ||
mwh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: mysecret | ||
type: Opaque | ||
data: | ||
SECURE_DATA: dG9rZW46IG15dG9rZW4= | ||
--- | ||
apiVersion: lifecycle.keptn.sh/v1beta1 | ||
kind: KeptnTaskDefinition | ||
metadata: | ||
name: pre-deployment-hello | ||
annotations: ## accessible via "KEPTN_CONTEXT" | ||
my: test | ||
spec: | ||
deno: | ||
parameters: ## accessible via "DATA" | ||
map: | ||
user: "myuser" | ||
secureParameters: ## accessible via "SECURE_DATA" | ||
secret: mysecret | ||
inline: | ||
code: | | ||
const data = Deno.env.get("DATA")!; | ||
const secret = Deno.env.get("SECURE_DATA")!; | ||
const context = Deno.env.get("KEPTN_CONTEXT")!; | ||
console.log(data); | ||
console.log(secret); | ||
console.log(context); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
docs/docs/assets/crd/examples/configmapref-for-deno-script.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.