Skip to content

Commit

Permalink
feat(opencti): increase version
Browse files Browse the repository at this point in the history
  • Loading branch information
ialejandro committed Mar 9, 2024
1 parent ee335fa commit 0510241
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
14 changes: 7 additions & 7 deletions charts/opencti/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ maintainers:
url: https://ialejandro.rocks
sources:
- https://github.com/OpenCTI-Platform/opencti
version: 1.1.3
appVersion: "5.12.8"
version: 1.2.0
appVersion: "6.0.5"
home: https://www.filigran.io/en/solutions/products/opencti/
keywords:
- opencti
dependencies:
- name: elasticsearch
version: 19.13.*
version: 19.19.*
repository: https://charts.bitnami.com/bitnami
condition: elasticsearch.enabled
- name: minio
version: 12.8.*
version: 13.7.*
repository: https://charts.bitnami.com/bitnami
condition: minio.enabled
- name: opensearch
version: 2.16.*
version: 2.18.*
repository: https://opensearch-project.github.io/helm-charts/
condition: opensearch.enabled
- name: rabbitmq
version: 12.3.*
version: 12.14.*
repository: https://charts.bitnami.com/bitnami
condition: rabbitmq.enabled
- name: redis
version: 18.2.*
version: 18.18.*
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
20 changes: 12 additions & 8 deletions charts/opencti/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ A Helm chart to deploy open cyber threat intelligence platform

| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | elasticsearch | 19.13.* |
| https://charts.bitnami.com/bitnami | minio | 12.8.* |
| https://charts.bitnami.com/bitnami | rabbitmq | 12.3.* |
| https://charts.bitnami.com/bitnami | redis | 18.2.* |
| https://opensearch-project.github.io/helm-charts/ | opensearch | 2.16.* |
| https://charts.bitnami.com/bitnami | elasticsearch | 19.19.* |
| https://charts.bitnami.com/bitnami | minio | 13.7.* |
| https://charts.bitnami.com/bitnami | rabbitmq | 12.14.* |
| https://charts.bitnami.com/bitnami | redis | 18.18.* |
| https://opensearch-project.github.io/helm-charts/ | opensearch | 2.18.* |

## Add repository

Expand Down Expand Up @@ -91,7 +91,7 @@ helm show values devops-ia/opencti
| elasticsearch.master.persistence | object | `{"enabled":false}` | Enable persistence using Persistent Volume Claims ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ |
| elasticsearch.master.persistence.enabled | bool | `false` | Enable persistence using a `PersistentVolumeClaim` |
| elasticsearch.master.replicaCount | int | `1` | Number of master-elegible replicas to deploy |
| env | object | `{"APP__ADMIN__EMAIL":"[email protected]","APP__ADMIN__PASSWORD":"ChangeMe","APP__ADMIN__TOKEN":"ChangeMe","APP__BASE_PATH":"/","ELASTICSEARCH__URL":"http://release-name-elasticsearch:9200","MINIO__ENDPOINT":"release-name-minio:9000","RABBITMQ__HOSTNAME":"release-name-rabbitmq","RABBITMQ__PASSWORD":"ChangeMe","RABBITMQ__PORT":5672,"RABBITMQ__PORT_MANAGEMENT":15672,"RABBITMQ__USERNAME":"user","REDIS__HOSTNAME":"release-name-redis-master","REDIS__MODE":"single","REDIS__PORT":6379}` | Environment variables to configure application ref: https://docs.opencti.io/5.12.X/deployment/configuration/#platform |
| env | object | `{"APP__ADMIN__EMAIL":"[email protected]","APP__ADMIN__PASSWORD":"ChangeMe","APP__ADMIN__TOKEN":"ChangeMe","APP__BASE_PATH":"/","APP__TELEMETRY__METRICS__ENABLED":true,"ELASTICSEARCH__URL":"http://release-name-elasticsearch:9200","MINIO__ENDPOINT":"release-name-minio:9000","RABBITMQ__HOSTNAME":"release-name-rabbitmq","RABBITMQ__PASSWORD":"ChangeMe","RABBITMQ__PORT":5672,"RABBITMQ__PORT_MANAGEMENT":15672,"RABBITMQ__USERNAME":"user","REDIS__HOSTNAME":"release-name-redis-master","REDIS__MODE":"single","REDIS__PORT":6379}` | Environment variables to configure application ref: https://docs.opencti.io/5.12.X/deployment/configuration/#platform |
| envFromSecrets | object | `{}` | Secrets from variables |
| fullnameOverride | string | `""` | String to fully override opencti.fullname template |
| global | object | `{"imagePullSecrets":[],"imageRegistry":""}` | Global configuration |
Expand Down Expand Up @@ -151,13 +151,15 @@ helm show values devops-ia/opencti
| service.targetPort | int | `4000` | Pod expose port |
| service.type | string | `"ClusterIP"` | Kubernetes Service type. Allowed values: NodePort, LoadBalancer or ClusterIP |
| serviceAccount | object | `{"annotations":{},"automountServiceAccountToken":false,"create":true,"name":""}` | Enable creation of ServiceAccount |
| serviceMonitor | object | `{"enabled":false,"interval":"30s","metricRelabelings":[],"relabelings":[],"scrapeTimeout":"10s"}` | Enable ServiceMonitor to get metrics ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor |
| serviceMonitor.enabled | bool | `false` | Enable or disable |
| startupProbe | object | `{"enabled":true,"failureThreshold":30,"initialDelaySeconds":180,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5}` | Configure startupProbe checker ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-startup-probes |
| startupProbeCustom | object | `{}` | Custom startupProbe |
| tolerations | list | `[]` | Tolerations for pod assignment |
| worker | object | `{"affinity":{},"autoscaling":{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80},"enabled":true,"env":{"WORKER_LOG_LEVEL":"info"},"envFromSecrets":{},"image":{"pullPolicy":"IfNotPresent","repository":"opencti/worker","tag":""},"nodeSelector":{},"readyChecker":{"enabled":true,"retries":30,"timeout":5},"replicaCount":1,"resources":{},"tolerations":[]}` | OpenCTI worker deployment configuration |
| worker | object | `{"affinity":{},"autoscaling":{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80},"enabled":true,"env":{"WORKER_LOG_LEVEL":"info","WORKER_TELEMETRY_ENABLED":true},"envFromSecrets":{},"image":{"pullPolicy":"IfNotPresent","repository":"opencti/worker","tag":""},"nodeSelector":{},"readyChecker":{"enabled":true,"retries":30,"timeout":5},"replicaCount":1,"resources":{},"serviceMonitor":{"enabled":false,"interval":"30s","metricRelabelings":[],"relabelings":[],"scrapeTimeout":"10s"},"tolerations":[]}` | OpenCTI worker deployment configuration |
| worker.affinity | object | `{}` | Affinity for pod assignment |
| worker.autoscaling | object | `{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | Autoscaling with CPU or memory utilization percentage |
| worker.env | object | `{"WORKER_LOG_LEVEL":"info"}` | Environment variables to configure application ref: https://docs.opencti.io/5.12.X/deployment/configuration/#platform |
| worker.env | object | `{"WORKER_LOG_LEVEL":"info","WORKER_TELEMETRY_ENABLED":true}` | Environment variables to configure application ref: https://docs.opencti.io/5.12.X/deployment/configuration/#platform |
| worker.envFromSecrets | object | `{}` | Secrets from variables |
| worker.image | object | `{"pullPolicy":"IfNotPresent","repository":"opencti/worker","tag":""}` | Image registry |
| worker.nodeSelector | object | `{}` | Node labels for pod assignment |
Expand All @@ -166,4 +168,6 @@ helm show values devops-ia/opencti
| worker.readyChecker.timeout | int | `5` | Timeout for each check |
| worker.replicaCount | int | `1` | Number of replicas |
| worker.resources | object | `{}` | The resources limits and requested |
| worker.serviceMonitor | object | `{"enabled":false,"interval":"30s","metricRelabelings":[],"relabelings":[],"scrapeTimeout":"10s"}` | Enable ServiceMonitor to get metrics ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor |
| worker.serviceMonitor.enabled | bool | `false` | Enable or disable |
| worker.tolerations | list | `[]` | Tolerations for pod assignment |
10 changes: 7 additions & 3 deletions charts/opencti/ci/ci-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@ env:
APP__ADMIN__PASSWORD: test
APP__ADMIN__TOKEN: b1976749-8a53-4f49-bf04-cafa2a3458c1
APP__BASE_PATH: "/"
MINIO__ENDPOINT: opencti-ci-minio
ELASTICSEARCH__URL: http://opencti-ci-elasticsearch:9200
APP__TELEMETRY__METRICS__ENABLED: true
ELASTICSEARCH__ENGINE_SELECTOR: elk
ELASTICSEARCH__URL: http://opencti-ci-elasticsearch:9200
MINIO__ENDPOINT: opencti-ci-minio
RABBITMQ__HOSTNAME: opencti-ci-rabbitmq
REDIS__HOSTNAME: opencti-ci-redis-master
REDIS__PORT: 6379
REDIS__MODE: single
REDIS__PORT: 6379

testConnection: false

serviceMonitor:
enabled: true

worker:
enabled: false

Expand Down

0 comments on commit 0510241

Please sign in to comment.