Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(upgrade): fixed upgrade for argus replica param #391

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/argus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ maintainers:
- email: argus@logicmonitor.com
name: LogicMonitor
name: argus
version: 9.1.0-rc02
version: 9.1.1-hotfix
home: https://logicmonitor.github.io/helm-charts-qa
appVersion: v13.0.0-rc03
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/argus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
spec:
replicas: 1
replicas: {{ .Values.replicas }}
selector:
matchLabels:
{{ include "lmutil.selectorLabels" . | nindent 6 }}
Expand Down
12 changes: 12 additions & 0 deletions charts/argus/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,18 @@
},
"$comment": "tf:optional,yamlencode"
},
"replicas": {
"$id": "#/properties/replicas",
"type": "integer",
"title": "The replicas schema",
"description": "Argus Pod Replicas - defaults to 1, parameter is just for development purpose, do not increase more than one replicas in production",
"default": 1,
"minimum": 0,
"maximum": 1,
"examples": [
1
]
},
"resourceContainerID": {
"$id": "#/properties/resourceContainerID",
"type": "integer",
Expand Down
2 changes: 2 additions & 0 deletions charts/argus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ labels: {}
# Annotations to apply on all objects created by Argus
annotations: {}

# Replicas - defaults to 1, param is just for development purpose, do not increase more than one replicas in production
replicas: 1

## OPTIONAL VALUES - Argus application configuration
# A parent group id that will hold all cluster resources under it. This is useful when Argus is installed with non-admin user's token.
Expand Down
Loading