Skip to content

Commit

Permalink
Update-2024-07-08_19:33:19
Browse files Browse the repository at this point in the history
  • Loading branch information
pogossian committed Jul 8, 2024
1 parent ec62a8a commit 19be5b9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/netris-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.3.0-alpha.10
version: 2.3.0-alpha.11

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: 4.3.0-alpha.10
appVersion: 4.3.0-alpha.11
home: https://netris.ai
icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink
keywords:
Expand Down
2 changes: 2 additions & 0 deletions charts/netris-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ The following table lists the configurable parameters of the netris-controller c
| `web-service-backend.autoscaling.minReplicas` | Default min replicas for autoscaling | `1` |
| `web-service-backend.autoscaling.maxReplicas` | Default max replicas for autoscaling | `100` |
| `web-service-backend.autoscaling.targetCPUUtilizationPercentage` | The desired target CPU utilization for autoscaling | `80` |
| `web-service-backend.nodeOptions` | A space-separated list of Node.js command-line options | `--max-old-space-size=8192` |


### Netris-Controller web-service-frontend parameters
| Parameter | Description | Default |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ data:
INSERT INTO `tenants` VALUES (2,'DevOps',0,0,0,0,0,'region',1,10,0,'public','2019-01-15 09:37:34','2020-07-14 19:00:02','DevOps Resources');
01-users.sql: |
USE {{ .Values.mariadb.auth.database }};
INSERT INTO `users` VALUES (1,'{{ .Values.netris.webLogin }}','{{ .Values.netris.webPassword | sha1sum }}',NULL,'Netris','[email protected]','',NULL,0,'','','Netris',NULL,0,1,'disabled','','{"approvals":"false","telescope":"false"}', NULL, NULL);
INSERT INTO `users` VALUES (1,'{{ .Values.netris.webLogin }}','{{ .Values.netris.webPassword | bcrypt }}','true','Netris','[email protected]','',NULL,0,'','','Netris',NULL,0,1,'disabled','','{"approvals":"false","telescope":"false"}', NULL, NULL);
INSERT INTO `users` VALUES (2,'system',NULL,NULL,'System Generated','[email protected]','',NULL,0,'','','Netris',NULL,0,1,'disabled','','{"approvals":"false","telescope":"false"}', NULL, NULL);
INSERT INTO `user_to_tenant` VALUES (1,1,0,'w');
Expand Down
2 changes: 2 additions & 0 deletions charts/netris-controller/templates/web-service-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ spec:
secretKeyRef:
name: {{ printf "%s-%s" (include "netris-controller.fullname" .) "web-session-secret" }}
key: secret-key
- name: NODE_OPTIONS
value: {{ (index .Values $microservicename).nodeOptions | quote }}
ports:
- name: {{ (index .Values $microservicename).service.name }}
containerPort: {{ (index .Values $microservicename).service.port }}
Expand Down
2 changes: 2 additions & 0 deletions charts/netris-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ web-service-backend:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

nodeOptions: "--max-old-space-size=8192"


web-service-frontend:
replicaCount: 1
Expand Down

0 comments on commit 19be5b9

Please sign in to comment.