Skip to content
Open
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
9 changes: 2 additions & 7 deletions charts/adapter-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
apiVersion: v2
name: adapter-service
description: >-
One chart for the OAN Beckn adapters. provider, network and consumer are the same
image and config format, so `role` selects the handler role, the step list
and the routing target; install once per role. Stateless: an adapter's
identity is a keypair held in a Secret, and everything else it reads from
the registry.
description: OAN Beckn adapter; role network-adapter runs all three tiers in single-adapter mode (default), or the network tier in multi-adapter.
type: application
version: 0.5.2
version: 0.6.0
# The adapter binary, not this chart. `/health` reports the build it is
# actually running, which is the number to trust over this one.
appVersion: "v1.9.0"
Expand Down
4 changes: 2 additions & 2 deletions charts/adapter-service/ci/lint-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# role is first among them: it has no default, because a default would hand one
# adapter another one's handler role and step list.
role: network
role: network-adapter
fullnameOverride: network-adapter

image:
Expand All @@ -18,6 +18,6 @@ keys:
registry:
url: http://registry:8081/api/v1

# Routing is no longer a value: it comes from config/routing-<role>.yaml in
# Routing is no longer a value: it comes from config/multi-adapter/routing-<tier>.yaml in
# the chart, like the adapter config. Set `routing.config` to a whole routing
# file only if this deployment must differ.
30 changes: 30 additions & 0 deletions charts/adapter-service/ci/network-adapter-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# CI only: renders single-adapter mode (generated routing, tier identities)
# with ingress on and annotations null to exercise the path guard.
role: network-adapter
fullnameOverride: network-adapter

image:
registry: ghcr.io
repository: openagrinet/network-adapter
tag: "v1.9.0"

# registry.url, otel.*, appName, logLevel, http.timeout.*, routing.* and handler.*
# are unused in single-adapter mode: set them in config/single-adapter/network-adapter-config.yaml.

service:
port: 9201
targetPort: 9201

ingress:
enabled: true
className: nginx
annotations: null
hosts:
- host: network-adapter.ci.example.com
paths:
- path: /discover
pathType: Exact
- path: /select
pathType: Prefix
- path: /status
pathType: Exact
4 changes: 2 additions & 2 deletions charts/adapter-service/ci/otel-ingress-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Uses the consumer role on purpose: it is the one with a different handler role and
# a shorter step list, so this case renders the role branches that
# ci/lint-values.yaml (network) does not.
role: consumer
role: consumer-adapter
fullnameOverride: consumer-adapter

image:
Expand All @@ -19,7 +19,7 @@ keys:
registry:
url: http://registry:8081/api/v1

# Routing is no longer a value: it comes from config/routing-<role>.yaml in
# Routing is no longer a value: it comes from config/multi-adapter/routing-<tier>.yaml in
# the chart, like the adapter config. Set `routing.config` to a whole routing
# file only if this deployment must differ.

Expand Down
Loading
Loading