Skip to content

Commit

Permalink
Update-2023-10-09_21:04:23
Browse files Browse the repository at this point in the history
  • Loading branch information
pogossian committed Oct 9, 2023
1 parent 0a0ae86 commit e8d13e5
Show file tree
Hide file tree
Showing 13 changed files with 687 additions and 534 deletions.
12 changes: 7 additions & 5 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: 1.4.5
version: 2.0.1-alpha.0

# 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: 3.4.4
appVersion: 4.0.1-alpha.0
home: https://netris.ai
icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink
keywords:
Expand All @@ -35,8 +35,8 @@ maintainers:
email: [email protected]
dependencies:
- name: mariadb
version: 9.6.1
repository: https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami
version: 12.2.9
repository: https://charts.bitnami.com/bitnami
- name: mongodb
version: 10.9.1
repository: https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami
Expand All @@ -47,9 +47,11 @@ dependencies:
version: 1.0.1
repository: https://charts.ntppool.org
- name: haproxy
version: 1.1.3
version: 1.19.1
repository: https://haproxytech.github.io/helm-charts
condition: haproxy.enabled
- name: graphite
version: 0.7.2
repository: https://kiwigrid.github.io
annotations:
artifacthub.io/prerelease: "true"
12 changes: 6 additions & 6 deletions charts/netris-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ The following table lists the configurable parameters of the netris-controller c
| ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- |
| `web-service-backend.replicaCount` | Number of replicas in web-service-backend deployment | `1` |
| `web-service-backend.image.repository` | Image repository | `netrisai/controller-web-service-backend` |
| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"3.4.4-006"` |
| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.0.1-003"` |
| `web-service-backend.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `web-service-backend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
| `web-service-backend.service.type` | Kubernetes service type | `ClusterIP` |
Expand All @@ -105,7 +105,7 @@ The following table lists the configurable parameters of the netris-controller c
| ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- |
| `web-service-frontend.replicaCount` | Number of replicas in web-service-frontend deployment | `1` |
| `web-service-frontend.image.repository` | Image repository | `netrisai/controller-web-service-frontend` |
| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"3.4.4-004"` |
| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.0.1-002"` |
| `web-service-frontend.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `web-service-frontend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
| `web-service-frontend.service.type` | Kubernetes service type | `ClusterIP` |
Expand All @@ -122,7 +122,7 @@ The following table lists the configurable parameters of the netris-controller c
| -------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------- |
| `grpc.replicaCount` | Number of replicas in grpc deployment | `1` |
| `grpc.image.repository` | Image repository | `netrisai/controller-grpc` |
| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"3.4.4.002"` |
| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.0.1.001"` |
| `grpc.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `grpc.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
| `grpc.service.type` | Kubernetes service type | `ClusterIP` |
Expand All @@ -139,7 +139,7 @@ The following table lists the configurable parameters of the netris-controller c
| ------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------- |
| `telescope.replicaCount` | Number of replicas in telescope deployment | `1` |
| `telescope.image.repository` | Image repository | `netrisai/controller-telescope` |
| `telescope.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"3.3.0.002"` |
| `telescope.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.0.0.001"` |
| `telescope.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `telescope.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
| `telescope.service.type` | Kubernetes service type | `ClusterIP` |
Expand Down Expand Up @@ -189,7 +189,7 @@ The following table lists the configurable parameters of the netris-controller c
| ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------- |
| `equinix-metal-agent.enabled` | Enable equinix-metal-agent deployment | `true` |
| `equinix-metal-agent.image.repository` | Image repository | `netrisai/bare-metal-equinix-metal-agent` |
| `equinix-metal-agent.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"0.10.0"` |
| `equinix-metal-agent.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"0.9.3"` |
| `equinix-metal-agent.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `equinix-metal-agent.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |

Expand All @@ -208,7 +208,7 @@ The following table lists the configurable parameters of the netris-controller c
| Parameter | Description | Default |
| ---------------------------------| ----------------------------------------------------------------------------- | ------------------------------------------- |
| `migration.image.repository` | Image repository | `netrisai/controller-web-service-migration` |
| `migration.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"3.4.4"` |
| `migration.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.0.1"` |
| `migration.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `migration.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |

Expand Down
4 changes: 4 additions & 0 deletions charts/netris-controller/templates/equinix-metal-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: init-wait-webapp
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
image: alpine:3.11
command:
- sh
- -c
- for i in $(seq 1 200); do nc -z -w3 {{ printf "%s-%s" (include "netris-controller.fullname" .) "web-service-backend" }} {{ (index .Values "web-service-backend").service.port }} && exit 0 || sleep 3; done; exit 1
- name: init-wait-websession
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
image: alpine:3.11
command:
- sh
Expand Down
6 changes: 4 additions & 2 deletions charts/netris-controller/templates/grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: init-wait-mariadb
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
image: alpine:3.11
command:
- sh
- -c
- for i in $(seq 1 200); do nc -z -w3 {{ printf "%s-%s" (include "netris-controller.fullname" .) "mariadb" }} {{ .Values.mariadb.primary.service.port }} && exit 0 || sleep 3; done; exit 1
- for i in $(seq 1 200); do nc -z -w3 {{ printf "%s-%s" (include "netris-controller.fullname" .) "mariadb" }} {{ .Values.mariadb.primary.service.ports.mysql }} && exit 0 || sleep 3; done; exit 1
containers:
- name: {{ printf "%s-%s" .Chart.Name $microservicename }}
securityContext:
Expand Down Expand Up @@ -166,7 +168,7 @@ data:
user={{ .Values.mariadb.auth.username }}
password={{ .Values.mariadb.auth.password }}
database={{ .Values.mariadb.auth.database }}
port={{ .Values.mariadb.primary.service.port }}
port={{ .Values.mariadb.primary.service.ports.mysql }}
---
apiVersion: v1
kind: Secret
Expand Down
4 changes: 3 additions & 1 deletion charts/netris-controller/templates/migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: init-wait-mariadb
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
image: alpine:3.11
command:
- sh
- -c
- for i in $(seq 1 200); do nc -z -w3 {{ printf "%s-%s" (include "netris-controller.fullname" .) "mariadb" }} {{ .Values.mariadb.primary.service.port }} && exit 0 || sleep 3; done; exit 1
- for i in $(seq 1 200); do nc -z -w3 {{ printf "%s-%s" (include "netris-controller.fullname" .) "mariadb" }} {{ .Values.mariadb.primary.service.ports.mysql }} && exit 0 || sleep 3; done; exit 1
containers:
- name: {{ printf "%s-%s" .Chart.Name $microservicename }}
securityContext:
Expand Down
Loading

0 comments on commit e8d13e5

Please sign in to comment.