Skip to content
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
8 changes: 8 additions & 0 deletions README-ENTERPRISE.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ production-ready set of values except for the `secrets` portion.
| `services.icc.secrets.control_plane_keys` | TODO | "" | Yes |
| `services.icc.secrets.user_manager_session` | TODO | "" | Yes |

#### Elasticache

| Name | Description | Default Value | Required |
| --- | --- | --- | --- |
| `services.icc.elasticache.role_arn` | The role ARN | "" | No |
| `services.icc.elasticache.region` | Region the cluster is in | "" | No |
| `services.icc.elasticache.cluster_name` | Name of the Elasticache cluster | "" | No |

#### Features

| Name | Description | Default Value | Required |
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,17 @@ production-ready set of values except for the `secrets` portion.
| `services.icc.valkey.apps_url` | Valkey connection string | "" | Yes |
| `services.icc.valkey.icc_url` | Valkey connection string | "" | Yes |
| `services.icc.prometheus.url` | Prometheus API URL | "" | Yes |
| `services.icc.secrets.icc_session` | TODO | "" | Yes |
| `services.icc.secrets.control_plane_keys` | TODO | "" | Yes |
| `services.icc.secrets.user_manager_session` | TODO | "" | Yes |
| `services.icc.secrets.icc_session` | Random value to secure sessions | "" | Yes |
| `services.icc.secrets.control_plane_keys` | Random value to secure sessions | "" | Yes |
| `services.icc.secrets.user_manager_session` | Random value to secure sessions | "" | Yes |

#### Elasticache

| Name | Description | Default Value | Required |
| --- | --- | --- | --- |
| `services.icc.elasticache.role_arn` | The role ARN | "" | No |
| `services.icc.elasticache.region` | Region the cluster is in | "" | No |
| `services.icc.elasticache.cluster_name` | Name of the Elasticache cluster | "" | No |

#### Features

Expand Down
4 changes: 2 additions & 2 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: helm
version: 4.0.0-alpha.7
kubeVersion: ">= v1.31"
version: 4.0.0-alpha.8
kubeVersion: ">= 1.31.0-0"
description: Platformatic microservices
type: application
keywords:
Expand Down
13 changes: 12 additions & 1 deletion chart/templates/deployment/_icc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
- name: PLT_MACHINIST_URL
value: http://machinist.platformatic
- name: PLT_FEATURE_CACHE
value: "{{ features.cache.enable | default false }}"
value: "{{ .features.cache.enable | default false }}"
- name: PLT_FEATURE_CACHE_RECOMMENDATIONS
value: "{{ .features.cache_recommendations.enable | default false }}"
- name: PLT_FEATURE_RISK_SERVICE_DUMP
Expand Down Expand Up @@ -211,6 +211,17 @@ spec:
key: "{{ . }}"
{{- end }}

{{- with .elasticache }}
- name: PLT_APPLICATIONS_CACHE_PROVIDER
value: elasticache
- name: PLT_CACHE_MANAGER_CONFIGURE_KEYSPACE_EVENT_NOTIFY
value: "false"
- name: PLT_APPLICATIONS_ELASTICACHE_REGION
value: {{ .region }}
- name: PLT_APPLICATIONS_ELASTICACHE_CLUSTERID_PREFIX
value: {{ .cluster_name }}
{{- end}}

{{- if .command }}
command:
{{- toYaml .command | nindent 12 }}
Expand Down
4 changes: 2 additions & 2 deletions chart/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
namespace: {{ include "install.namespace" $ }}
{{- if eq .Values.cloud "aws"}}
annotations:
{{- with .Values.services.icc.elasticacheRoleArn}}
eks.amazonaws.com/role-arn: {{ . }}
{{- with .Values.services.icc.elasticache}}
eks.amazonaws.com/role-arn: {{ .role_arn }}
{{- end}}
{{- end}}

Expand Down
7 changes: 7 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ services:
monitor:
enable: true

# Configure elasticache
# See <doc link here>
#elasticache:
# role_arn: ""
# region: ""
# cluster_name: ""

# We have a changelog available at:
image:
repository: platformatic/intelligent-command-center
Expand Down