Skip to content

Commit

Permalink
Add access-node without blockchain-connector
Browse files Browse the repository at this point in the history
  • Loading branch information
dwendland committed Jul 25, 2024
1 parent 69a20bd commit feb9dd7
Show file tree
Hide file tree
Showing 8 changed files with 200 additions and 189 deletions.
18 changes: 18 additions & 0 deletions aws/apps/deployai/marketplace/access-node.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: access-node
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/FIWARE-Ops/fiware-gitops
targetRevision: HEAD
path: aws/deployai/marketplace/access-node
destination:
server: https://kubernetes.default.svc
namespace: deployai
syncPolicy:
automated:
prune: true
selfHeal: true
11 changes: 11 additions & 0 deletions aws/deployai/marketplace/access-node/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v2
name: access-node
description: Chart holder for ArgoCD
type: application
version: 0.1.0
appVersion: 0.1.0
dependencies:
- name: access-node
condition: access-node.enabled
repository: https://dome-marketplace.github.io/access-node
version: 0.1.4
170 changes: 170 additions & 0 deletions aws/deployai/marketplace/access-node/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
access-node:
desmos:
# -- should the desmos-blockchain-connector be enabled
enabled: false

dlt-adapter:
# -- should the dlt-adapter be enabled
enabled: false

# postgres for desmos only
postgresql:
# -- should the postgresql deployment be enabled
enabled: true
# -- overrides the generated name, provides stable service names - this should be avoided if multiple instances are available in the same namespace
fullnameOverride: desmos-postgres
# -- overrides the generated name, provides stable service names - this should be avoided if multiple instances are available in the same namespace
nameOverride: desmos-postgres
## auth configuration for the database
auth:
# -- username to be used
username: postgres
# -- should the default postgres user be enabled
enablePostgresUser: true
# -- existing secret
existingSecret: postgres-secret
secretKeys:
adminPasswordKey: postgres-root-password
userPasswordKey: postgres-password
## configuration of the postgres primary replica
primary:
persistence:
size: 2Gi
## provide db initialization
initdb:
## provide scripts for initialization
scripts:
# -- create the database as expected by the blockchain-connector
create.sh: |
psql postgresql://postgres:${POSTGRES_POSTGRES_PASSWORD}@localhost:5432 -c "CREATE DATABASE desmos;"
scorpio:
# -- should scorpio be enabled
enabled: true
## configuration of the image to be used
image:
# -- repository to be used - resource friendly all-in-one-runner without kafka
repository: scorpiobroker/all-in-one-runner
# -- tag of the image to be used - latest java image without kafka
tag: java-4.1.10
## configuration of the database to be used by broker
db:
# -- host of the db
dbhost: postgis-marketplace
# -- username to be used
user: postgres
# -- existing secret to retrieve the db password
existingSecret:
# -- should an existing secret be used
enabled: true
# -- name of the secret
name: postgres-secret
# -- key to retrieve the password from
key: postgres-root-password
kafka:
# -- Enable usage of Kafka
enabled: true
# -- Bus host for Kafka
bushost: kafka-marketplace

## configuration of the readiness probe
readinessProbe:
# -- path to be used for the readiness probe, older versions used /actuator/health
path: /q/health
## configuration of the liveness probe
livenessProbe:
# -- path to be used for the readiness probe, older versions used /actuator/health
path: /q/health
# -- overrides the generated name, provides stable service names - this should be avoided if multiple instances are available in the same namespace
fullnameOverride: scorpio-marketplace
## configuration to be used for the service offered by scorpio
service:
# -- ClusterIP is the recommended type for most clusters
type: ClusterIP

## configuration for kafka in case its used by scorpio - see https://github.com/bitnami/charts/tree/main/bitnami/kafka
kafka:
# -- should kafka be enabled?
enabled: false

## configuration of postgis to be used for scorpio - see https://github.com/bitnami/charts/tree/main/bitnami/postgresql for details
postgis:
# -- should postgis be enabled
enabled: false

tm-forum-api:
fullnameOverride: tm-forum-api
nameOverride: tm-forum-api
# -- should tm-forum-api be enabled
enabled: true
## configuration to be used by every api-deployment if nothing specific is provided.
defaultConfig:
# -- configuration to be used for the image of the containers
image:
# -- current latest tag
tag: "0.20.1"
# -- ngsi-ld broker connection information
ngsiLd:
# -- address of the broker
url: http://scorpio-marketplace:9090
# -- default context to be used when contacting the context broker
contextUrl: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld
# -- host that the tm-forum api can be reached at, when the proxy is enabled it should be set to that address. If not, set the host for each api individually
serverHost: http://localhost:8080
## configuration for the api proxy, to serve all apis through one kubernetes service
apiProxy:
# -- the proxy must be enabled
enabled: true

apis:
- name: party-catalog
image: tmforum-party-catalog
basePath: /

- name: customer-bill-management
image: tmforum-customer-bill-management
basePath: /

- name: customer-management
image: tmforum-customer-management
basePath: /

- name: product-catalog
image: tmforum-product-catalog
basePath: /

- name: product-inventory
image: tmforum-product-inventory
basePath: /

- name: product-ordering-management
image: tmforum-product-ordering-management
basePath: /

- name: resource-catalog
image: tmforum-resource-catalog
basePath: /

- name: resource-function-activation
image: tmforum-resource-function-activation
basePath: /

- name: resource-inventory
image: tmforum-resource-inventory
basePath: /

- name: service-catalog
image: tmforum-service-catalog
basePath: /

- name: account
image: tmforum-account
basePath: /

- name: agreement
image: tmforum-agreement
basePath: /

- name: usage-management
image: tmforum-usage-management
basePath: /
2 changes: 1 addition & 1 deletion aws/deployai/marketplace/postgis/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
postgresql:

fullnameOverride: postgis
fullnameOverride: postgis-marketplace

auth:
username: scorpio
Expand Down
48 changes: 0 additions & 48 deletions aws/deployai/marketplace/scorpio/deployment.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions aws/deployai/marketplace/scorpio/service.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions aws/deployai/marketplace/tm-forum-api/Chart.yaml

This file was deleted.

Loading

0 comments on commit feb9dd7

Please sign in to comment.