Skip to content

Commit

Permalink
fix after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
jkralik committed Aug 28, 2023
1 parent 407feb9 commit 1b66bd7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
17 changes: 11 additions & 6 deletions charts/plgd-hub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ global:
| certificateauthority.extraVolumes | string | `nil` | Optional extra volumes |
| certificateauthority.fullnameOverride | string | `nil` | Full name to override |
| certificateauthority.httpPort | int | `9101` | |
| certificateauthority.hubId | string | `nil` | Hub ID. Can be override via global.hubId or coapgateway.hubId |
| certificateauthority.hubId | string | `nil` | Hub ID. Can be overriden via global.hubId |
| certificateauthority.image.imagePullSecrets | string | `nil` | Image pull secrets |
| certificateauthority.image.pullPolicy | string | `"Always"` | Image pull policy |
| certificateauthority.image.registry | string | `"ghcr.io/"` | Image registry |
Expand All @@ -104,6 +104,7 @@ global:
| certificateauthority.ingress.http.secretName | string | `nil` | Override name of host/tls secret. If not specified, it will be generated |
| certificateauthority.initContainersTpl | string | `nil` | Init containers definition |
| certificateauthority.livenessProbe | string | `nil` | Liveness probe. certificate-authority doesn't have any default liveness probe |
| certificateauthority.log | object | `{"dumpBody":false,"encoderConfig":{"timeEncoder":"rfc3339nano"},"encoding":"json","level":"info","stacktrace":{"enabled":false,"level":"warn"}}` | Log section |
| certificateauthority.log.dumpBody | bool | `false` | Dump grpc messages |
| certificateauthority.log.encoderConfig.timeEncoder | string | `"rfc3339nano"` | Time format for logs. The supported values are: "rfc3339nano", "rfc3339" |
| certificateauthority.log.encoding | string | `"json"` | The supported values are: "json", "console" |
Expand Down Expand Up @@ -211,7 +212,7 @@ global:
| coapgateway.extraVolumeMounts | object | `{}` | Optional extra volume mounts |
| coapgateway.extraVolumes | object | `{}` | Optional extra volumes |
| coapgateway.fullnameOverride | string | `nil` | Full name to override |
| coapgateway.hubId | string | `nil` | Hub ID. Can be override via global.hubId |
| coapgateway.hubId | string | `nil` | Hub ID. Can be overriden via global.hubId |
| coapgateway.image.imagePullSecrets | object | `{}` | Image pull secrets |
| coapgateway.image.pullPolicy | string | `"Always"` | Image pull policy |
| coapgateway.image.registry | string | `"ghcr.io/"` | Image registry |
Expand All @@ -220,6 +221,7 @@ global:
| coapgateway.imagePullSecrets | object | `{}` | Image pull secrets |
| coapgateway.initContainersTpl | object | `{}` | Init containers definition |
| coapgateway.livenessProbe | object | `{}` | Liveness probe. coap-gateway doesn't have any default liveness probe |
| coapgateway.log | object | `{"dumpBody":false,"encoderConfig":{"timeEncoder":"rfc3339nano"},"encoding":"json","level":"info","stacktrace":{"enabled":false,"level":"warn"}}` | Log section |
| coapgateway.log.dumpBody | bool | `false` | Dump coap messages |
| coapgateway.log.encoderConfig.timeEncoder | string | `"rfc3339nano"` | Time format for logs. The supported values are: "rfc3339nano", "rfc3339" |
| coapgateway.log.encoding | string | `"json"` | The supported values are: "json", "console" |
Expand Down Expand Up @@ -276,7 +278,7 @@ global:
| global.deviceIdClaim | string | `nil` | Device ID claim |
| global.domain | string | `nil` | Global domain |
| global.enableWildCartCert | bool | `true` | Enable *.{{ global.domain }} for all external domain |
| global.hubId | string | `nil` | hubId. Used by coap-gateway, resource-aggregate, indentity-store, certificate-authority. It must be unique |
| global.hubId | string | `nil` | hubId. Used by coapgateway, resourceaggregate, resourcedirectory, indentitystore, certificateauthority. It must be unique |
| global.oauth | object | `{"device":[],"web":{"clientID":null}}` | Global OAuth configuration used by multiple services |
| global.openTelemetryExporter | object | `{"address":null,"enabled":false,"keepAlive":{"permitWithoutStream":true,"time":"10s","timeout":"20s"},"tls":{"caPool":null,"certFile":null,"keyFile":null,"useSystemCAPool":false}}` | Global Open Telemetry exporter configuration |
| global.openTelemetryExporter.address | string | `nil` | The gRPC collector to which the exporter is going to send data |
Expand Down Expand Up @@ -419,7 +421,7 @@ global:
| identitystore.extraVolumeMounts | object | `{}` | Extra volume mounts |
| identitystore.extraVolumes | object | `{}` | Extra volumes |
| identitystore.fullnameOverride | string | `nil` | Full name to override |
| identitystore.hubId | string | `nil` | Hub ID. Can be override via global.hubId or coapgateway.hubId |
| identitystore.hubId | string | `nil` | Hub ID. Can be overriden via global.hubId |
| identitystore.image | object | `{"imagePullSecrets":{},"pullPolicy":"Always","registry":"ghcr.io/","repository":"plgd-dev/hub/identity-store","tag":null}` | Identity service image section |
| identitystore.image.imagePullSecrets | object | `{}` | Image pull secrets |
| identitystore.image.pullPolicy | string | `"Always"` | Image pull policy |
Expand All @@ -429,6 +431,7 @@ global:
| identitystore.imagePullSecrets | object | `{}` | Image pull secrets |
| identitystore.initContainersTpl | object | `{}` | Init containers definition. Resolved as template |
| identitystore.livenessProbe | object | `{}` | Liveness probe. Identity doesn't have any default liveness probe |
| identitystore.log | object | `{"dumpBody":false,"encoderConfig":{"timeEncoder":"rfc3339nano"},"encoding":"json","level":"info","stacktrace":{"enabled":false,"level":"warn"}}` | Log section |
| identitystore.log.dumpBody | bool | `false` | Dump grpc messages |
| identitystore.log.encoderConfig.timeEncoder | string | `"rfc3339nano"` | Time format for logs. The supported values are: "rfc3339nano", "rfc3339" |
| identitystore.log.encoding | string | `"json"` | The supported values are: "json", "console" |
Expand Down Expand Up @@ -567,7 +570,7 @@ global:
| resourceaggregate.extraVolumeMounts | object | `{}` | Optional extra volume mounts |
| resourceaggregate.extraVolumes | object | `{}` | Optional extra volumes |
| resourceaggregate.fullnameOverride | string | `nil` | Full name to override |
| resourceaggregate.hubId | string | `nil` | Hub ID. Can be override via global.hubId or coapgateway.hubId |
| resourceaggregate.hubId | string | `nil` | Hub ID. Can be overriden via global.hubId |
| resourceaggregate.image.imagePullSecrets | object | `{}` | Image pull secrets |
| resourceaggregate.image.pullPolicy | string | `"Always"` | Image pull policy |
| resourceaggregate.image.registry | string | `"ghcr.io/"` | Image registry |
Expand All @@ -576,6 +579,7 @@ global:
| resourceaggregate.imagePullSecrets | object | `{}` | Image pull secrets |
| resourceaggregate.initContainersTpl | object | `{}` | Init containers definition. Resolved as template |
| resourceaggregate.livenessProbe | object | `{}` | Liveness probe. resource-aggregate doesn't have any default liveness probe |
| resourceaggregate.log | object | `{"dumpBody":false,"encoderConfig":{"timeEncoder":"rfc3339nano"},"encoding":"json","level":"info","stacktrace":{"enabled":false,"level":"warn"}}` | Log section |
| resourceaggregate.log.dumpBody | bool | `false` | Dump grpc messages |
| resourceaggregate.log.encoderConfig.timeEncoder | string | `"rfc3339nano"` | Time format for logs. The supported values are: "rfc3339nano", "rfc3339" |
| resourceaggregate.log.encoding | string | `"json"` | The supported values are: "json", "console" |
Expand Down Expand Up @@ -619,6 +623,7 @@ global:
| resourcedirectory.extraVolumeMounts | object | `{}` | Optional extra volume mounts |
| resourcedirectory.extraVolumes | object | `{}` | Optional extra volumes |
| resourcedirectory.fullnameOverride | string | `nil` | Full name to override |
| resourcedirectory.hubId | string | `nil` | Hub ID. Can be overriden via global.hubId |
| resourcedirectory.image.command | string | `nil` | Container command |
| resourcedirectory.image.imagePullSecrets | object | `{}` | Image pull secrets |
| resourcedirectory.image.pullPolicy | string | `"Always"` | Image pull policy |
Expand All @@ -640,7 +645,7 @@ global:
| resourcedirectory.podLabels | object | `{}` | Labels for resource-directory pod |
| resourcedirectory.podSecurityContext | object | `{}` | Pod security context |
| resourcedirectory.port | int | `9100` | Service and POD port |
| resourcedirectory.publicConfiguration | object | `{"authority":null,"caPool":null,"coapGateway":null,"defaultCommandTimeToLive":null,"deviceIdClaim":null,"hubId":null,"ownerClaim":null}` | For complete resource-directory service configuration see [plgd/resource-directory](https://github.com/plgd-dev/hub/tree/main/resource-directory) |
| resourcedirectory.publicConfiguration | object | `{"authority":null,"caPool":null,"coapGateway":null,"defaultCommandTimeToLive":null,"deviceIdClaim":null,"ownerClaim":null}` | For complete resource-directory service configuration see [plgd/resource-directory](https://github.com/plgd-dev/hub/tree/main/resource-directory) |
| resourcedirectory.rbac | object | `{"enabled":false,"roleBindingDefitionTpl":null,"serviceAccountName":"resource-directory"}` | RBAC configuration |
| resourcedirectory.rbac.roleBindingDefitionTpl | string | `nil` | template definition for Role/binding etc.. |
| resourcedirectory.rbac.serviceAccountName | string | `"resource-directory"` | Name of resource-directory SA |
Expand Down
10 changes: 5 additions & 5 deletions charts/plgd-hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ resourcedirectory:
mountPath: /config
# -- Service and POD port
port: 9100
# -- Hub ID. Can be override via global.hubId
# -- Hub ID. Can be overriden via global.hubId
hubId:
# -- Log section
log:
Expand Down Expand Up @@ -655,7 +655,7 @@ resourceaggregate:
mountPath: /config
# -- Service and POD port
port: 9100
# -- Hub ID. Can be override via global.hubId
# -- Hub ID. Can be overriden via global.hubId
hubId:
# -- Log section
log:
Expand Down Expand Up @@ -878,7 +878,7 @@ coapgateway:
mountPath: /config
# -- Service and POD port
port: 5684
# -- Hub ID. Can be override via global.hubId
# -- Hub ID. Can be overriden via global.hubId
hubId:
# -- Log section
log:
Expand Down Expand Up @@ -1096,7 +1096,7 @@ identitystore:
volume: config
# -- Service configuration mount path
mountPath: /config
# -- Hub ID. Can be override via global.hubId
# -- Hub ID. Can be overriden via global.hubId
hubId:
# -- Log section
log:
Expand Down Expand Up @@ -1780,7 +1780,7 @@ certificateauthority:
# -- Service and POD port
port: 9100
httpPort: 9101
# -- Hub ID. Can be override via global.hubId
# -- Hub ID. Can be overriden via global.hubId
hubId:
# -- Log section
log:
Expand Down
8 changes: 4 additions & 4 deletions grpc-gateway/pb/devices.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions grpc-gateway/pb/devices.proto
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ message SubscribeToEvents {
message Event {
message DeviceRegistered {
repeated string device_ids = 1;
identitystore.pb.EventMetadata event_metadata = 5; // provides metadata of event
identitystore.pb.EventMetadata event_metadata = 2; // provides metadata of event
// Open telemetry data propagated to asynchronous events
map<string,string> open_telemetry_carrier = 100;
}
message DeviceUnregistered {
repeated string device_ids = 1;
identitystore.pb.EventMetadata event_metadata = 5; // provides metadata of event
identitystore.pb.EventMetadata event_metadata = 2; // provides metadata of event
// Open telemetry data propagated to asynchronous events
map<string,string> open_telemetry_carrier = 100;
}
Expand Down

0 comments on commit 1b66bd7

Please sign in to comment.