Skip to content

Commit

Permalink
replicas var for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaguilar committed May 21, 2024
1 parent 0edb84b commit 856e485
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/terraform-operator-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: 0.9.0
description: A Helm chart to deploy the terraform-operator-api
name: terraform-operator-api
version: 1.1.1
version: 1.1.2
3 changes: 2 additions & 1 deletion charts/terraform-operator-api/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# terraform-operator-api

![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)
![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)

A Helm chart to deploy the terraform-operator-api

Expand All @@ -17,6 +17,7 @@ $ helm install galleybytes/terraform-operator-api --namespace tf-system
|---|---|---|
| args | `list` Optional args to include for the command | `["use-service-host"]` |
| env | `list` Env defined like k8s EnvVar https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#envvar-v1-core. | `[]` |
| replicas | `int` The desired number of identical pods the deployment maintains | `3` |
| envFrom | `list` List of sources to populate environment variables in the container. See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#envfromsource-v1-core | `[]` |
| image.tag | `string` | `"0.9.0"` |
| server.port | `int` The port the runtime exposes to connect to the webserver | `5555` |
Expand Down
2 changes: 1 addition & 1 deletion charts/terraform-operator-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: {{ .Release.Name }}
spec:
replicas: 1
replicas: {{ .Values.replicas }}
selector:
matchLabels:
service: terraform-operator
Expand Down
3 changes: 3 additions & 0 deletions charts/terraform-operator-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ env: []
# value: $2a$10$2ap6bphr5ZBkEMTBb/ZoT.zrY7lUwzCW2u1n5tIeVugtVpjMRW9Fe
#

# -- The desired number of identical pods the deployment maintains
replicas: 3

# -- List of sources to populate environment variables in the container. See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#envfromsource-v1-core
envFrom: []

Expand Down

0 comments on commit 856e485

Please sign in to comment.