Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
chore: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed Apr 19, 2021
1 parent ea23974 commit acc5bb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion examples/template-helm.yaml
Expand Up @@ -12,4 +12,6 @@ resources:
values: |
redisPort: 6379
# Use a predefined parameter here
myOtherValue: ${NAMESPACE}
# You can also use annotations on the namespace
# with ${namespace.metadata.annotations.myAnnotation}
myOtherValue: ${namespace}
5 changes: 3 additions & 2 deletions examples/template-manifests.yaml
Expand Up @@ -21,9 +21,10 @@ resources:
kind: LimitRange
metadata:
name: space-limit-range
annotations:
annotations:
# Parameters can also be used inside a string
example-parameter: "Hello from ${NAMESPACE} - ${WILL_NOT_BE_REPLACED}"
# with ${namespace.metadata.annotations.myAnnotation}
example-parameter: "Hello from ${namespace} - ${WILL_NOT_BE_REPLACED}"
spec:
limits:
- default:
Expand Down

0 comments on commit acc5bb6

Please sign in to comment.