Skip to content

Commit

Permalink
udpate other charts
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jul 8, 2024
1 parent 8641e42 commit 66987c3
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 47 deletions.
9 changes: 8 additions & 1 deletion charts/tractusx-connector-azure-vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,17 @@ helm install my-release tractusx-edc/tractusx-connector-azure-vault --version 0.
| controlplane.autoscaling.targetMemoryUtilizationPercentage | int | `80` | targetAverageUtilization of memory provided to a pod |
| controlplane.bdrs.cache_validity_seconds | int | `600` | Time that a cached BPN/DID resolution map is valid in seconds, default is 600 seconds (10 min) |
| controlplane.bdrs.server.url | string | `nil` | URL of the BPN/DID Resolution Service |
| controlplane.catalog | object | `{"crawler":{"initialDelay":null,"num":null,"period":null},"enabled":false}` | configuration for the built-in federated catalog crawler |
| controlplane.catalog.crawler.initialDelay | string | `nil` | Initial delay for the crawling to start. Leave blank for a random delay |
| controlplane.catalog.crawler.num | string | `nil` | Number of desired crawlers. Final number might be different, based on number of crawl targets |
| controlplane.catalog.crawler.period | string | `nil` | Period between two crawl runs in seconds. Default is 60 seconds. |
| controlplane.catalog.enabled | bool | `false` | Flag to globally enable/disable the FC feature |
| controlplane.debug.enabled | bool | `false` | Enables java debugging mode. |
| controlplane.debug.port | int | `1044` | Port where the debuggee can connect to. |
| controlplane.debug.suspendOnStart | bool | `false` | Defines if the JVM should wait with starting the application until someone connected to the debugging port. |
| controlplane.endpoints | object | `{"control":{"path":"/control","port":8083},"default":{"path":"/api","port":8080},"management":{"authKey":"password","path":"/management","port":8081},"metrics":{"path":"/metrics","port":9090},"protocol":{"path":"/api/v1/dsp","port":8084}}` | endpoints of the control plane |
| controlplane.endpoints | object | `{"catalog":{"path":"/catalog","port":8085},"control":{"path":"/control","port":8083},"default":{"path":"/api","port":8080},"management":{"authKey":"password","path":"/management","port":8081},"metrics":{"path":"/metrics","port":9090},"protocol":{"path":"/api/v1/dsp","port":8084}}` | endpoints of the control plane |
| controlplane.endpoints.catalog.path | string | `"/catalog"` | path for incoming catalog cache query requests |
| controlplane.endpoints.catalog.port | int | `8085` | port for incoming catalog cache query requests |
| controlplane.endpoints.control | object | `{"path":"/control","port":8083}` | control api, used for internal control calls. can be added to the internal ingress, but should probably not |
| controlplane.endpoints.control.path | string | `"/control"` | path for incoming api calls |
| controlplane.endpoints.control.port | int | `8083` | port for incoming api calls |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ spec:
value: {{ .Values.controlplane.endpoints.protocol.path | quote }}
- name: "EDC_CONTROL_ENDPOINT"
value: {{ include "txdc.controlplane.url.control" .}}
- name: "WEB_HTTP_CATALOG_PORT"
value: {{ .Values.controlplane.endpoints.catalog.port | quote }}
- name: "WEB_HTTP_CATALOG_PATH"
value: {{ .Values.controlplane.endpoints.catalog.path | quote }}


#########
## DSP ##
Expand Down Expand Up @@ -320,6 +325,27 @@ spec:
value: {{ .Values.vault.azure.certificate | quote }}
{{- end }}

###############################
## FEDERATED CATALOG CRAWLER ##
###############################
{{- if .Values.controlplane.catalog.crawler.period }}
- name: "EDC_CATALOG_CACHE_EXECUTION_PERIOD_SECONDS"
value: {{ .Values.controlplane.catalog.crawler.period | quote}}
{{- end }}

{{- if .Values.controlplane.catalog.crawler.initialDelay }}
- name: "EDC_CATALOG_CACHE_EXECUTION_DELAY_SECONDS"
value: {{ .Values.controlplane.catalog.crawler.initialDelay | quote }}
{{- end }}

{{- if .Values.controlplane.catalog.crawler.num }}
- name: "EDC_CATALOG_CACHE_PARTITION_NUM_CRAWLERS"
value: {{ .Values.controlplane.catalog.crawler.num }}
{{- end }}

- name: "EDC_CATALOG_CACHE_EXECUTION_ENABLED"
value: {{ .Values.controlplane.catalog.enabled | quote }}

######################################
## Additional environment variables ##
######################################
Expand Down
92 changes: 55 additions & 37 deletions charts/tractusx-connector-azure-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ fullnameOverride: ""
nameOverride: ""

# -- Existing image pull secret to use to [obtain the container image from private registries](https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry)
imagePullSecrets: []
imagePullSecrets: [ ]

Check failure on line 36 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

36:20 [brackets] too many spaces inside empty brackets
# -- Add some custom labels
customLabels: {}
customLabels: { }

Check failure on line 38 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

38:16 [braces] too many spaces inside empty braces

participant:
# -- BPN Number
Expand All @@ -45,7 +45,7 @@ iatp:
# -- Decentralized IDentifier (DID) of the connector
id: "did:web:changeme"
# -- Configures the trusted issuers for this runtime
trustedIssuers: []
trustedIssuers: [ ]

Check failure on line 48 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

48:20 [brackets] too many spaces inside empty brackets
sts:
dim:
# -- URL where connectors can request SI tokens
Expand All @@ -60,7 +60,7 @@ iatp:
secret_alias:

# -- Add custom ca certificates to the truststore
customCaCerts: {}
customCaCerts: { }

Check failure on line 63 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

63:17 [braces] too many spaces inside empty braces

controlplane:
image:
Expand All @@ -70,7 +70,7 @@ controlplane:
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion
tag: ""
initContainers: []
initContainers: [ ]

Check failure on line 73 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

73:20 [brackets] too many spaces inside empty brackets
debug:
# -- Enables java debugging mode.
enabled: false
Expand Down Expand Up @@ -141,25 +141,43 @@ controlplane:
# -- path for incoming api calls
path: /metrics

catalog:
# -- port for incoming catalog cache query requests
port: 8085
# -- path for incoming catalog cache query requests
path: /catalog

bdrs:
# -- Time that a cached BPN/DID resolution map is valid in seconds, default is 600 seconds (10 min)
cache_validity_seconds: 600
server:
# -- URL of the BPN/DID Resolution Service
url:

# -- configuration for the built-in federated catalog crawler
catalog:
# -- Flag to globally enable/disable the FC feature
enabled: false
crawler:
# -- Number of desired crawlers. Final number might be different, based on number of crawl targets
num:
# -- Period between two crawl runs in seconds. Default is 60 seconds.
period:
# -- Initial delay for the crawling to start. Leave blank for a random delay
initialDelay:

service:
# -- [Service type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) to expose the running application on a set of Pods as a network service.
type: ClusterIP
# -- additional labels for the service
labels: {}
labels: { }

Check failure on line 173 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

173:14 [braces] too many spaces inside empty braces
# -- additional annotations for the service
annotations: {}
annotations: { }

Check failure on line 175 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

175:19 [braces] too many spaces inside empty braces

# -- additional labels for the pod
podLabels: {}
podLabels: { }

Check failure on line 178 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

178:15 [braces] too many spaces inside empty braces
# -- additional annotations for the pod
podAnnotations: {}
podAnnotations: { }

Check failure on line 180 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

180:20 [braces] too many spaces inside empty braces
# -- The [pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) defines privilege and access control settings for a Pod within the deployment
podSecurityContext:
seccompProfile:
Expand All @@ -178,7 +196,7 @@ controlplane:
drop:
- ALL
# -- Specifies which capabilities to add to issue specialized syscalls
add: []
add: [ ]

Check failure on line 199 in charts/tractusx-connector-azure-vault/values.yaml

View workflow job for this annotation

GitHub Actions / helm-lint

199:13 [brackets] too many spaces inside empty brackets
# -- Whether the root filesystem is mounted in read-only mode
readOnlyRootFilesystem: true
# -- Controls [Privilege Escalation](https://kubernetes.io/docs/concepts/security/pod-security-policy/#privilege-escalation) enabling setuid binaries changing the effective user ID
Expand All @@ -189,12 +207,12 @@ controlplane:
runAsUser: 10001

# Extra environment variables that will be pass onto deployment pods
env: {}
env: { }
# ENV_NAME: value

# -- "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
# ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
envValueFrom: {}
envValueFrom: { }
# ENV_NAME:
# configMapKeyRef:
# name: configmap-name
Expand All @@ -204,12 +222,12 @@ controlplane:
# key: value_key

# -- [Kubernetes Secret Resource](https://kubernetes.io/docs/concepts/configuration/secret/) names to load environment variables from
envSecretNames: []
envSecretNames: [ ]
# - first-secret
# - second-secret

# -- [Kubernetes ConfigMap Resource](https://kubernetes.io/docs/concepts/configuration/configmap/) names to load environment variables from
envConfigMapNames: []
envConfigMapNames: [ ]
# - first-config-map
# - second-config-map

Expand All @@ -220,7 +238,7 @@ controlplane:
# -- The hostname to be used to precisely map incoming traffic onto the underlying network service
hostname: "edc-control.local"
# -- Additional ingress annotations to add
annotations: {}
annotations: { }
# -- EDC endpoints exposed by this ingress resource
endpoints:
- protocol
Expand All @@ -243,7 +261,7 @@ controlplane:
# -- The hostname to be used to precisely map incoming traffic onto the underlying network service
hostname: "edc-control.intranet"
# -- Additional ingress annotations to add
annotations: {}
annotations: { }
# -- EDC endpoints exposed by this ingress resource
endpoints:
- management
Expand Down Expand Up @@ -309,11 +327,11 @@ controlplane:
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n
# -- [node selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) to constrain pods to nodes
nodeSelector: {}
nodeSelector: { }
# -- [tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) to configure preferred nodes
tolerations: []
tolerations: [ ]
# -- [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) to configure which nodes the pods can be scheduled on
affinity: {}
affinity: { }

url:
# -- Explicitly declared url for reaching the dsp api (e.g. if ingresses not used)
Expand All @@ -327,7 +345,7 @@ dataplane:
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion
tag: ""
initContainers: []
initContainers: [ ]
debug:
# -- Enables java debugging mode.
enabled: false
Expand Down Expand Up @@ -367,9 +385,9 @@ dataplane:
# -- [Service type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) to expose the running application on a set of Pods as a network service.
type: ClusterIP
# -- additional labels for the service
labels: {}
labels: { }
# -- additional annotations for the service
annotations: {}
annotations: { }

# -- endpoints of the dataplane
endpoints:
Expand Down Expand Up @@ -426,9 +444,9 @@ dataplane:
secretAccessKey: ""

# -- additional labels for the pod
podLabels: {}
podLabels: { }
# -- additional annotations for the pod
podAnnotations: {}
podAnnotations: { }
# -- The [pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) defines privilege and access control settings for a Pod within the deployment
podSecurityContext:
seccompProfile:
Expand All @@ -447,7 +465,7 @@ dataplane:
drop:
- ALL
# -- Specifies which capabilities to add to issue specialized syscalls
add: []
add: [ ]
# -- Whether the root filesystem is mounted in read-only mode
readOnlyRootFilesystem: true
# -- Controls [Privilege Escalation](https://kubernetes.io/docs/concepts/security/pod-security-policy/#privilege-escalation) enabling setuid binaries changing the effective user ID
Expand All @@ -458,12 +476,12 @@ dataplane:
runAsUser: 10001

# -- Extra environment variables that will be pass onto deployment pods
env: {}
env: { }
# ENV_NAME: value

# -- "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
# ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
envValueFrom: {}
envValueFrom: { }
# ENV_NAME:
# configMapKeyRef:
# name: configmap-name
Expand All @@ -473,12 +491,12 @@ dataplane:
# key: value_key

# -- [Kubernetes Secret Resource](https://kubernetes.io/docs/concepts/configuration/secret/) names to load environment variables from
envSecretNames: []
envSecretNames: [ ]
# - first-secret
# - second-secret

# -- [Kubernetes ConfigMap Resource](https://kubernetes.io/docs/concepts/configuration/configmap/) names to load environment variables from
envConfigMapNames: []
envConfigMapNames: [ ]
# - first-config-map
# - second-config-map

Expand All @@ -489,7 +507,7 @@ dataplane:
# -- The hostname to be used to precisely map incoming traffic onto the underlying network service
hostname: "edc-data.local"
# -- Additional ingress annotations to add
annotations: {}
annotations: { }
# -- EDC endpoints exposed by this ingress resource
endpoints:
- public
Expand Down Expand Up @@ -554,11 +572,11 @@ dataplane:
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n
# -- [node selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) to constrain pods to nodes
nodeSelector: {}
nodeSelector: { }
# -- [tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) to configure preferred nodes
tolerations: []
tolerations: [ ]
# -- [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) to configure which nodes the pods can be scheduled on
affinity: {}
affinity: { }

url:
# -- Explicitly declared url for reaching the public api (e.g. if ingresses not used)
Expand Down Expand Up @@ -592,23 +610,23 @@ networkPolicy:
controlplane:
# -- Specify from rule network policy for cp (defaults to all namespaces)
from:
- namespaceSelector: {}
- namespaceSelector: { }
# -- Configuration of the dataplane component
dataplane:
# -- Specify from rule network policy for dp (defaults to all namespaces)
from:
- namespaceSelector: {}
- namespaceSelector: { }

serviceAccount:
# -- Specifies whether a service account should be created
create: true
# -- Annotations to add to the service account
annotations: {}
annotations: { }
# -- The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# -- Existing image pull secret bound to the service account to use to [obtain the container image from private registries](https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry)
imagePullSecrets: []
imagePullSecrets: [ ]

# -- Configurations for Helm tests
tests:
Expand Down
9 changes: 8 additions & 1 deletion charts/tractusx-connector-memory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,17 @@ helm install my-release tractusx-edc/tractusx-connector-memory --version 0.7.3 \
| runtime.autoscaling.targetMemoryUtilizationPercentage | int | `80` | targetAverageUtilization of memory provided to a pod |
| runtime.bdrs.cache_validity_seconds | int | `600` | Time that a cached BPN/DID resolution map is valid in seconds, default is 600 seconds (10 min) |
| runtime.bdrs.server.url | string | `nil` | URL of the BPN/DID Resolution Service |
| runtime.catalog | object | `{"crawler":{"initialDelay":null,"num":null,"period":null},"enabled":false}` | configuration for the built-in federated catalog crawler |
| runtime.catalog.crawler.initialDelay | string | `nil` | Initial delay for the crawling to start. Leave blank for a random delay |
| runtime.catalog.crawler.num | string | `nil` | Number of desired crawlers. Final number might be different, based on number of crawl targets |
| runtime.catalog.crawler.period | string | `nil` | Period between two crawl runs in seconds. Default is 60 seconds. |
| runtime.catalog.enabled | bool | `false` | Flag to globally enable/disable the FC feature |
| runtime.debug.enabled | bool | `false` | Enables java debugging mode. |
| runtime.debug.port | int | `1044` | Port where the debuggee can connect to. |
| runtime.debug.suspendOnStart | bool | `false` | Defines if the JVM should wait with starting the application until someone connected to the debugging port. |
| runtime.endpoints | object | `{"control":{"path":"/control","port":8083},"default":{"path":"/api","port":8080},"management":{"authKey":"password","path":"/management","port":8081},"protocol":{"path":"/api/v1/dsp","port":8084},"proxy":{"authKey":"password","path":"/proxy","port":8186},"public":{"path":"/api/public","port":8086}}` | endpoints of the controlplane |
| runtime.endpoints | object | `{"catalog":{"path":"/catalog","port":8085},"control":{"path":"/control","port":8083},"default":{"path":"/api","port":8080},"management":{"authKey":"password","path":"/management","port":8081},"protocol":{"path":"/api/v1/dsp","port":8084},"proxy":{"authKey":"password","path":"/proxy","port":8186},"public":{"path":"/api/public","port":8086}}` | endpoints of the controlplane |
| runtime.endpoints.catalog.path | string | `"/catalog"` | path for incoming catalog cache query requests |
| runtime.endpoints.catalog.port | int | `8085` | port for incoming catalog cache query requests |
| runtime.endpoints.control | object | `{"path":"/control","port":8083}` | control api, used for internal control calls. can be added to the internal ingress, but should probably not |
| runtime.endpoints.control.path | string | `"/control"` | path for incoming api calls |
| runtime.endpoints.control.port | int | `8083` | port for incoming api calls |
Expand Down
Loading

0 comments on commit 66987c3

Please sign in to comment.