Skip to content

Commit

Permalink
[uniconfig] Extra objects configurable via helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Volak committed Aug 26, 2024
1 parent 19861c5 commit 3778eb6
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 294 deletions.
6 changes: 3 additions & 3 deletions charts/uniconfig/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: uniconfig
version: 8.1.0
version: 8.2.0
appVersion: "6.1.1"
description: A Helm chart for UniConfig Kubernetes deployment
type: application
Expand All @@ -22,7 +22,7 @@ icon: https://avatars.githubusercontent.com/u/23452093?s=200&v=4
annotations:
artifacthub.io/changes: |
- kind: added
description: Added servicemonitor and monitoring configuration
description: Add possibility to configure extra objects via helm chart [container, volume, extraConfigmapMounts]
links:
- name: GitHub PR
url: https://github.com/FRINXio/helm-charts/pull/397
url: https://github.com/FRINXio/helm-charts/pull/416
14 changes: 8 additions & 6 deletions charts/uniconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Helm chart for UniConfig Kubernetes deployment

![Version: 8.1.0](https://img.shields.io/badge/Version-8.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.1.1](https://img.shields.io/badge/AppVersion-6.1.1-informational?style=flat-square)
![Version: 8.2.0](https://img.shields.io/badge/Version-8.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.1.1](https://img.shields.io/badge/AppVersion-6.1.1-informational?style=flat-square)

## Get Repo Info

Expand Down Expand Up @@ -44,17 +44,19 @@ helm uninstall [RELEASE_NAME]
| alwaysRollAfterUpgrade | bool | `false` | |
| args | list | `["/opt/uniconfig-frinx/run_uniconfig.sh"]` | Uniconfig container args |
| autoscaling | object | `{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80,"targetMemoryUtilizationPercentage":80}` | [Autoscaling parameters](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) |
| cacheConfigs | object | `{}` | global configuration of cache |
| cacheConfigs | object | `{}` | Global configuration of cache |
| command | list | `["/bin/sh","-c"]` | Uniconfig container command |
| dbPersistence.CLISHELL_SSHSERVER_USERNAMEPASSWORDAUTH_PASSWORD | string | `"admin"` | |
| dbPersistence.POSTGRES_HOST | string | `nil` | Database hostname |
| dbPersistence.POSTGRES_PASSWORD | string | `"postgresP"` | |
| dbPersistence.POSTGRES_USERNAME | string | `"postgresU"` | Database credentials. Exposed when existing dbPersistence.existingSecret.secretName is empty |
| dbPersistence.existingSecret | object | `{"clishellSshserverUsernamepasswordauthPasswordKey":null,"postgresPasswordKey":null,"postgresUsernameKey":null,"secretName":null}` | Existing database credentials |
| extraEnv | object | `{"CLISHELL_SSHSERVER_ENABLED":true,"CLISHELL_SSHSERVER_INETADDRESS":"0.0.0.0","DBPERSISTENCE_CONNECTION_DATABASELOCATIONS_0_PORT":5432,"DBPERSISTENCE_CONNECTION_MAXDBPOOLSIZE":300,"DBPERSISTENCE_EMBEDDEDDATABASE_ENABLED":false,"NOTIFICATIONS_ENABLED":true,"NOTIFICATIONS_KAFKA_KAFKASERVERS_0_BROKERHOST":"kafka","NOTIFICATIONS_KAFKA_KAFKASERVERS_0_BROKERLISTENINGPORT":9092,"SPRING_AUTOCONFIGURE_EXCLUDE":"org.springframework.cloud.stream.function.FunctionConfiguration","SPRING_CLOUD_BUS_ENABLED":false,"SPRING_KAFKA_BOOTSTRAPSERVERS":"http://kafka:9092","TRANSACTIONS_MAXSTOREDTRANSACTIONS":100,"TRANSACTIONS_MAXTRANSACTIONAGE":7200,"TRANSACTIONS_TRANSACTIONIDLETIMEOUT":3600,"UNICONFIG_CLOUD_CONFIG_ENABLED":false}` | Application properties |
| extraConfigmapMounts | list | `[]` | Extra config map attached to uniconfig container |
| extraContainers | list | `[]` | Extra containers |
| extraEnv | object | `{"CLISHELL_SSHSERVER_ENABLED":true,"CLISHELL_SSHSERVER_INETADDRESS":"0.0.0.0","DBPERSISTENCE_CONNECTION_DATABASELOCATIONS_0_PORT":5432,"DBPERSISTENCE_CONNECTION_DBNAME":"uniconfig","DBPERSISTENCE_CONNECTION_MAXDBPOOLSIZE":300,"DBPERSISTENCE_EMBEDDEDDATABASE_ENABLED":false,"NOTIFICATIONS_ENABLED":true,"NOTIFICATIONS_KAFKA_KAFKASERVERS_0_BROKERHOST":"kafka","NOTIFICATIONS_KAFKA_KAFKASERVERS_0_BROKERLISTENINGPORT":9092,"SPRING_AUTOCONFIGURE_EXCLUDE":"org.springframework.cloud.stream.function.FunctionConfiguration","SPRING_CLOUD_BUS_ENABLED":false,"SPRING_KAFKA_BOOTSTRAPSERVERS":"http://kafka:9092","TRANSACTIONS_MAXSTOREDTRANSACTIONS":100,"TRANSACTIONS_MAXTRANSACTIONAGE":7200,"TRANSACTIONS_TRANSACTIONIDLETIMEOUT":3600,"UNICONFIG_CLOUD_CONFIG_ENABLED":false}` | Application properties |
| extraInitContainers | list | `[]` | Extra init containers |
| extraLogbackConfigMap | string | `nil` | |
| extraScriptConfigMap | string | `nil` | |
| extraVolumes | list | `[]` | Extra volumes used in extraContainers and extraInitContainers |
| fullnameOverride | string | `""` | String to fully override app name |
| highAvailability.enabled | bool | `false` | Deploy extra traefik compatible resources to provide sticky session and zone loadbalancing |
| highAvailability.hosts | list | `["uniconfig"]` | Additional traefik services which are used to forward requests to uniconfig controller with sticky session |
Expand All @@ -76,7 +78,7 @@ helm uninstall [RELEASE_NAME]
| java | object | `{"max_mem":"10G"}` | Java max memory for Uniconfig container |
| kafka | object | `{"fullnameOverride":"kafka","listeners":{"client":{"protocol":"PLAINTEXT"}}}` | [Kafka subchart: "https://artifacthub.io/packages/helm/bitnami/kafka"] |
| livenessProbe | object | `{"failureThreshold":10,"timeoutSeconds":35}` | Liveness probe |
| mibsConfigs | object | `{}` | global configuration of mibs |
| mibsConfigs | object | `{}` | Global configuration of mibs |
| monitoring | object | `{"enabled":false,"path":"/actuator/prometheus","port":"http"}` | Monitoring configuration |
| nameOverride | string | `""` | String to partially override app name |
| nodeSelector | object | `{}` | [Node labels for pod assignment](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/) |
Expand All @@ -99,6 +101,6 @@ helm uninstall [RELEASE_NAME]
| startupProbe | object | `{"failureThreshold":25,"timeoutSeconds":35}` | Startup probe |
| tolerations | list | `[]` | [Tolerations for pod assignment](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) |
| utilitiesImage.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| utilitiesImage.repository | string | `"frinx/utilities-alpine"` | utilities image repository |
| utilitiesImage.repository | string | `"frinx/utilities-alpine"` | Utilities image repository |
| utilitiesImage.tag | string | `"1.2"` | Overrides the image tag. |

239 changes: 0 additions & 239 deletions charts/uniconfig/config/logback.xml

This file was deleted.

8 changes: 0 additions & 8 deletions charts/uniconfig/templates/configmap-logback.yaml

This file was deleted.

Loading

0 comments on commit 3778eb6

Please sign in to comment.