Skip to content

Commit

Permalink
update SM app config with latest configmap, release name
Browse files Browse the repository at this point in the history
  • Loading branch information
conceptualshark authored Oct 29, 2024
1 parent 130b789 commit a1fd890
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 57 deletions.
46 changes: 24 additions & 22 deletions docs/self-managed/operational-guides/application-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ operate:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
numberOfShards: 3
# Zeebe instance
zeebe:
# Broker contact point
brokerContactPoint: "cpt-zeebe-gateway:26500"
brokerContactPoint: "<your-release-name>-zeebe-gateway:26500"
# ELS instance to export Zeebe data to
zeebeElasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
Expand Down Expand Up @@ -122,79 +122,81 @@ operate:

## Default properties set by the helm chart

Before you supply a configuration, it's helpful to know what the default configuration is so you can start from a working configuration and then update the values you want:
The `helm template` command generates the application's default configuration, allowing you to only update the values required by your setup. Use the following command to generate the default configuration, substituting in the name of your release:

```bash
helm template \
helm template <your-release-name> \
-f values.yaml \
camunda/camunda-platform \
--show-only templates/operate/configmap.yaml
```

`--show-only` will allow you to print out the `configmap` to the console:
The `--show-only` flag prints out the `configmap` to the console:

```yaml
# Source: camunda-platform/templates/operate/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: cpt-operate
name: <your-release-name>-operate-configuration
labels:
app: camunda-platform
app.kubernetes.io/name: camunda-platform
app.kubernetes.io/instance: cpt
app.kubernetes.io/instance: <your-release-name>
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: camunda-platform
helm.sh/chart: camunda-platform-9.3.1
app.kubernetes.io/version: "8.4.5"
helm.sh/chart: camunda-platform-10.3.2
app.kubernetes.io/component: operate
app.kubernetes.io/version: "8.5.5"
data:
application.yml: |
server:
servlet:
context-path: "/operate"
spring:
profiles:
active: "identity-auth"
security:
oauth2:
resourceserver:
jwt:
issuer-uri: "http://cpt-keycloak:80/auth/realms/camunda-platform"
jwk-set-uri: "http://cpt-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs"
issuer-uri: "http://<your-release-name>-keycloak:80/auth/realms/camunda-platform"
jwk-set-uri: "http://<your-release-name>-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs"
camunda:
identity:
clientId: "operate"
audience: "operate-api"
baseUrl: "http://<your-release-name>-identity:80"
# Operate configuration file
camunda.operate:
identity:
redirectRootUrl: "https://dev.jlscode.com"
redirectRootUrl: "http://localhost:8081"
# ELS instance to store Operate data
elasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Zeebe instance
zeebe:
# Broker contact point
brokerContactPoint: "cpt-zeebe-gateway:26500"
# Elasticsearch full url
url: "http://<your-release-name>-elasticsearch:9200"
# ELS instance to export Zeebe data to
zeebeElasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
prefix: zeebe-record
# Elasticsearch full url
url: "http://<your-release-name>-elasticsearch:9200"
# Zeebe instance
zeebe:
# Broker contact point
brokerContactPoint: "<your-release-name>-zeebe-gateway:26500"
logging:
level:
ROOT: INFO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ operate:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
numberOfShards: 3
# Zeebe instance
zeebe:
# Broker contact point
brokerContactPoint: "cpt-zeebe-gateway:26500"
brokerContactPoint: "<your-release-name>-zeebe-gateway:26500"
# ELS instance to export Zeebe data to
zeebeElasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
Expand Down Expand Up @@ -122,27 +122,27 @@ operate:

## Default properties set by the helm chart

Before you supply a configuration, it's helpful to know what the default configuration is so you can start from a working configuration and then update the values you want:
The `helm template` command generates the application's default configuration, allowing you to only update the values required by your setup. Use the following command to generate the default configuration, substituting in the name of your release:

```bash
helm template \
helm template <your-release-name> \
-f values.yaml \
camunda/camunda-platform \
--show-only templates/operate/configmap.yaml
```

`--show-only` will allow you to print out the `configmap` to the console:
The `--show-only` flag prints out the `configmap` to the console:

```yaml
# Source: camunda-platform/templates/operate/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: cpt-operate
name: <your-release-name>-operate
labels:
app: camunda-platform
app.kubernetes.io/name: camunda-platform
app.kubernetes.io/instance: cpt
app.kubernetes.io/instance: <your-release-name>
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: camunda-platform
helm.sh/chart: camunda-platform-9.3.1
Expand All @@ -160,25 +160,26 @@ data:
oauth2:
resourceserver:
jwt:
issuer-uri: "http://cpt-keycloak:80/auth/realms/camunda-platform"
jwk-set-uri: "http://cpt-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs"
issuer-uri: "http://<your-release-name>-keycloak:80/auth/realms/camunda-platform"
jwk-set-uri: "http://<your-release-name>-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs"
camunda:
identity:
clientId: "operate"
audience: "operate-api"
baseUrl: "http://<your-release-name>-identity:80"
# Operate configuration file
camunda.operate:
identity:
redirectRootUrl: "https://dev.jlscode.com"
redirectRootUrl: "http://localhost:8081"
# ELS instance to store Operate data
elasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Zeebe instance
Expand All @@ -190,7 +191,7 @@ data:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ operate:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
numberOfShards: 3
# Zeebe instance
zeebe:
# Broker contact point
brokerContactPoint: "cpt-zeebe-gateway:26500"
brokerContactPoint: "<your-release-name>-zeebe-gateway:26500"
# ELS instance to export Zeebe data to
zeebeElasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
Expand Down Expand Up @@ -122,79 +122,81 @@ operate:

## Default properties set by the helm chart

Before you supply a configuration, it's helpful to know what the default configuration is so you can start from a working configuration and then update the values you want:
The `helm template` command generates the application's default configuration, allowing you to only update the values required by your setup. Use the following command to generate the default configuration, substituting in the name of your release:

```bash
helm template \
helm template <your-release-name> \
-f values.yaml \
camunda/camunda-platform \
--show-only templates/operate/configmap.yaml
```

`--show-only` will allow you to print out the `configmap` to the console:
The `--show-only` flag prints out the `configmap` to the console:

```yaml
# Source: camunda-platform/templates/operate/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: cpt-operate
name: <your-release-name>-operate-configuration
labels:
app: camunda-platform
app.kubernetes.io/name: camunda-platform
app.kubernetes.io/instance: cpt
app.kubernetes.io/instance: <your-release-name>
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: camunda-platform
helm.sh/chart: camunda-platform-9.3.1
app.kubernetes.io/version: "8.4.5"
helm.sh/chart: camunda-platform-10.3.2
app.kubernetes.io/component: operate
app.kubernetes.io/version: "8.5.5"
data:
application.yml: |
server:
servlet:
context-path: "/operate"
spring:
profiles:
active: "identity-auth"
security:
oauth2:
resourceserver:
jwt:
issuer-uri: "http://cpt-keycloak:80/auth/realms/camunda-platform"
jwk-set-uri: "http://cpt-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs"
issuer-uri: "http://<your-release-name>-keycloak:80/auth/realms/camunda-platform"
jwk-set-uri: "http://<your-release-name>-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs"
camunda:
identity:
clientId: "operate"
audience: "operate-api"
baseUrl: "http://<your-release-name>-identity:80"
# Operate configuration file
camunda.operate:
identity:
redirectRootUrl: "https://dev.jlscode.com"
redirectRootUrl: "http://localhost:8081"
# ELS instance to store Operate data
elasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Zeebe instance
zeebe:
# Broker contact point
brokerContactPoint: "cpt-zeebe-gateway:26500"
# Elasticsearch full url
url: "http://<your-release-name>-elasticsearch:9200"
# ELS instance to export Zeebe data to
zeebeElasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: cpt-elasticsearch
host: <your-release-name>-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
prefix: zeebe-record
# Elasticsearch full url
url: "http://<your-release-name>-elasticsearch:9200"
# Zeebe instance
zeebe:
# Broker contact point
brokerContactPoint: "<your-release-name>-zeebe-gateway:26500"
logging:
level:
ROOT: INFO
Expand Down

0 comments on commit a1fd890

Please sign in to comment.