Merge pull request #88 from mattmoyer/add-replica-count-param

Add a ytt template value for replica count.
This commit is contained in:
Matt Moyer 2020-09-08 11:54:11 -05:00 committed by GitHub
commit 3d09afbfb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,7 @@ metadata:
labels:
app: #@ data.values.app_name
spec:
replicas: 2
replicas: #@ data.values.replicas
selector:
matchLabels:
app: #@ data.values.app_name

View File

@ -7,6 +7,9 @@
app_name: pinniped
namespace: pinniped
#! Specify how many replicas of the Pinniped server to run.
replicas: 2
#! Specify either an image_digest or an image_tag. If both are given, only image_digest will be used.
image_repo: #! e.g. registry.example.com/your-project-name/repo-name
image_digest: #! e.g. sha256:f3c4fdfd3ef865d4b97a1fd295d94acc3f0c654c46b6f27ffad5cf80216903c8