Skip to content

Commit

Permalink
Update env var formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
edeandrea committed Nov 1, 2023
1 parent b3323b5 commit 2f5ed77
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 97 deletions.
6 changes: 3 additions & 3 deletions event-statistics/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ metadata:
application: event-stats
system: quarkus-super-heroes
data:
kafka.bootstrap.servers: PLAINTEXT://fights-kafka:9092
mp.messaging.connector.smallrye-kafka.apicurio.registry.url: http://apicurio:8080/apis/registry/v2
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://fights-kafka:9092
MP_MESSAGING_CONNECTOR_SMALLRYE_KAFKA_APICURIO_REGISTRY_URL: http://apicurio:8080/apis/registry/v2
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
---
apiVersion: v1
kind: Secret
Expand Down
12 changes: 6 additions & 6 deletions grpc-locations/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ metadata:
application: locations-service
system: quarkus-super-heroes
data:
quarkus.hibernate-orm.database.generation: validate
quarkus.hibernate-orm.sql-load-script: no-file
quarkus.datasource.jdbc.url: jdbc:mariadb://locations-db:3306/locations_database
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION: validate
QUARKUS_HIBERNATE_ORM_SQL_LOAD_SCRIPT: no-file
QUARKUS_DATASOURCE_JDBC_URL: jdbc:mariadb://locations-db:3306/locations_database
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
---
apiVersion: v1
kind: Secret
Expand All @@ -23,8 +23,8 @@ metadata:
application: locations-service
system: quarkus-super-heroes
data:
quarkus.datasource.username: bG9jYXRpb25z
quarkus.datasource.password: bG9jYXRpb25z
QUARKUS_DATASOURCE_USERNAME: bG9jYXRpb25z
QUARKUS_DATASOURCE_PASSWORD: bG9jYXRpb25z
---
apiVersion: v1
kind: Secret
Expand Down
4 changes: 2 additions & 2 deletions rest-fights/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ metadata:
application: fights-service
system: quarkus-super-heroes
data:
quarkus.mongodb.credentials.username: c3VwZXJmaWdodA==
quarkus.mongodb.credentials.password: c3VwZXJmaWdodA==
QUARKUS_MONGODB_CREDENTIALS_USERNAME: c3VwZXJmaWdodA==
QUARKUS_MONGODB_CREDENTIALS_PASSWORD: c3VwZXJmaWdodA==
---
apiVersion: v1
kind: Secret
Expand Down
32 changes: 16 additions & 16 deletions rest-fights/src/main/kubernetes/knative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ metadata:
application: fights-service
system: quarkus-super-heroes
data:
quarkus.liquibase-mongodb.migrate-at-start: false
quarkus.mongodb.hosts: fights-db:27017
quarkus.stork.hero-service.service-discovery.type: knative
quarkus.stork.hero-service.service-discovery.application: rest-heroes
quarkus.stork.hero-service.service-discovery.refresh-period: 1M
quarkus.stork.villain-service.service-discovery.type: knative
quarkus.stork.villain-service.service-discovery.application: rest-villains
quarkus.stork.villain-service.service-discovery.refresh-period: 1M
quarkus.stork.narration-service.service-discovery.type: knative
quarkus.stork.narration-service.service-discovery.application: rest-narration
quarkus.stork.narration-service.service-discovery.refresh-period: 1M
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
quarkus.grpc.clients.locations.host: grpc-locations
quarkus.grpc.clients.locations.port: 80
kafka.bootstrap.servers: PLAINTEXT://fights-kafka:9092
mp.messaging.connector.smallrye-kafka.apicurio.registry.url: http://apicurio:8080/apis/registry/v2
QUARKUS_LIQUIBASE_MONGODB_MIGRATE_AT_START: false
QUARKUS_MONGODB_HOSTS: fights-db:27017
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_TYPE: knative
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-heroes
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1M
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_TYPE: knative
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-villains
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1M
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_TYPE: knative
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-narration
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1M
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
QUARKUS_GRPC_CLIENTS_LOCATIONS_HOST: grpc-locations
QUARKUS_GRPC_CLIENTS_LOCATIONS_PORT: 80
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://fights-kafka:9092
MP_MESSAGING_CONNECTOR_SMALLRYE_KAFKA_APICURIO_REGISTRY_URL: http://apicurio:8080/apis/registry/v2
38 changes: 19 additions & 19 deletions rest-fights/src/main/kubernetes/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ metadata:
application: fights-service
system: quarkus-super-heroes
data:
quarkus.liquibase-mongodb.migrate-at-start: false
quarkus.mongodb.hosts: fights-db:27017
quarkus.stork.hero-service.service-discovery.type: kubernetes
quarkus.stork.hero-service.service-discovery.application: rest-heroes
quarkus.stork.hero-service.service-discovery.port-name: http
quarkus.stork.hero-service.service-discovery.refresh-period: 1H
quarkus.stork.villain-service.service-discovery.type: kubernetes
quarkus.stork.villain-service.service-discovery.application: rest-villains
quarkus.stork.villain-service.service-discovery.refresh-period: 1H
quarkus.stork.villain-service.service-discovery.port-name: http
quarkus.stork.narration-service.service-discovery.type: kubernetes
quarkus.stork.narration-service.service-discovery.application: rest-narration
quarkus.stork.narration-service.service-discovery.refresh-period: 1H
quarkus.stork.narration-service.service-discovery.port-name: http
quarkus.grpc.clients.locations.host: grpc-locations
quarkus.grpc.clients.locations.port: 80
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
kafka.bootstrap.servers: PLAINTEXT://fights-kafka:9092
mp.messaging.connector.smallrye-kafka.apicurio.registry.url: http://apicurio:8080/apis/registry/v2
QUARKUS_LIQUIBASE_MONGODB_MIGRATE_AT_START: false
QUARKUS_MONGODB_HOSTS: fights-db:27017
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-heroes
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-villains
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-narration
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_GRPC_CLIENTS_LOCATIONS_HOST: grpc-locations
QUARKUS_GRPC_CLIENTS_LOCATIONS_PORT: 80
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://fights-kafka:9092
MP_MESSAGING_CONNECTOR_SMALLRYE_KAFKA_APICURIO_REGISTRY_URL: http://apicurio:8080/apis/registry/v2
38 changes: 19 additions & 19 deletions rest-fights/src/main/kubernetes/minikube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ metadata:
application: fights-service
system: quarkus-super-heroes
data:
quarkus.liquibase-mongodb.migrate-at-start: false
quarkus.mongodb.hosts: fights-db:27017
quarkus.stork.hero-service.service-discovery.type: kubernetes
quarkus.stork.hero-service.service-discovery.application: rest-heroes
quarkus.stork.hero-service.service-discovery.refresh-period: 1H
quarkus.stork.hero-service.service-discovery.port-name: http
quarkus.stork.villain-service.service-discovery.type: kubernetes
quarkus.stork.villain-service.service-discovery.application: rest-villains
quarkus.stork.villain-service.service-discovery.refresh-period: 1H
quarkus.stork.villain-service.service-discovery.port-name: http
quarkus.stork.narration-service.service-discovery.type: kubernetes
quarkus.stork.narration-service.service-discovery.application: rest-narration
quarkus.stork.narration-service.service-discovery.refresh-period: 1H
quarkus.stork.narration-service.service-discovery.port-name: http
quarkus.grpc.clients.locations.host: grpc-locations
quarkus.grpc.clients.locations.port: 80
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
kafka.bootstrap.servers: PLAINTEXT://fights-kafka:9092
mp.messaging.connector.smallrye-kafka.apicurio.registry.url: http://apicurio:8080/apis/registry/v2
QUARKUS_LIQUIBASE_MONGODB_MIGRATE_AT_START: false
QUARKUS_MONGODB_HOSTS: fights-db:27017
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-heroes
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-villains
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-narration
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_GRPC_CLIENTS_LOCATIONS_HOST: grpc-locations
QUARKUS_GRPC_CLIENTS_LOCATIONS_PORT: 80
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://fights-kafka:9092
MP_MESSAGING_CONNECTOR_SMALLRYE_KAFKA_APICURIO_REGISTRY_URL: http://apicurio:8080/apis/registry/v2
38 changes: 19 additions & 19 deletions rest-fights/src/main/kubernetes/openshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ metadata:
application: fights-service
system: quarkus-super-heroes
data:
quarkus.liquibase-mongodb.migrate-at-start: false
quarkus.mongodb.hosts: fights-db:27017
quarkus.stork.hero-service.service-discovery.type: kubernetes
quarkus.stork.hero-service.service-discovery.application: rest-heroes
quarkus.stork.hero-service.service-discovery.refresh-period: 1H
quarkus.stork.hero-service.service-discovery.port-name: http
quarkus.stork.villain-service.service-discovery.type: kubernetes
quarkus.stork.villain-service.service-discovery.application: rest-villains
quarkus.stork.villain-service.service-discovery.refresh-period: 1H
quarkus.stork.villain-service.service-discovery.port-name: http
quarkus.stork.narration-service.service-discovery.type: kubernetes
quarkus.stork.narration-service.service-discovery.application: rest-narration
quarkus.stork.narration-service.service-discovery.refresh-period: 1H
quarkus.stork.narration-service.service-discovery.port-name: http
quarkus.grpc.clients.locations.host: grpc-locations
quarkus.grpc.clients.locations.port: 80
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
kafka.bootstrap.servers: PLAINTEXT://fights-kafka:9092
mp.messaging.connector.smallrye-kafka.apicurio.registry.url: http://apicurio:8080/apis/registry/v2
QUARKUS_LIQUIBASE_MONGODB_MIGRATE_AT_START: false
QUARKUS_MONGODB_HOSTS: fights-db:27017
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-heroes
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_HERO_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-villains
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_VILLAIN_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_TYPE: kubernetes
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_APPLICATION: rest-narration
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_REFRESH_PERIOD: 1H
QUARKUS_STORK_NARRATION_SERVICE_SERVICE_DISCOVERY_PORT_NAME: http
QUARKUS_GRPC_CLIENTS_LOCATIONS_HOST: grpc-locations
QUARKUS_GRPC_CLIENTS_LOCATIONS_PORT: 80
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://fights-kafka:9092
MP_MESSAGING_CONNECTOR_SMALLRYE_KAFKA_APICURIO_REGISTRY_URL: http://apicurio:8080/apis/registry/v2
---
apiVersion: route.openshift.io/v1
kind: Route
Expand Down
12 changes: 6 additions & 6 deletions rest-heroes/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ metadata:
application: heroes-service
system: quarkus-super-heroes
data:
quarkus.hibernate-orm.database.generation: validate
quarkus.hibernate-orm.sql-load-script: no-file
quarkus.datasource.reactive.url: postgresql://heroes-db:5432/heroes_database
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION: validate
QUARKUS_HIBERNATE_ORM_DATABASE_SQL_LOAD_SCRIPT: no-file
QUARKUS_DATASOURCE_REACTIVE_URL: postgresql://heroes-db:5432/heroes_database
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
---
apiVersion: v1
kind: Secret
Expand All @@ -23,8 +23,8 @@ metadata:
application: heroes-service
system: quarkus-super-heroes
data:
quarkus.datasource.username: c3VwZXJtYW4=
quarkus.datasource.password: c3VwZXJtYW4=
QUARKUS_DATASOURCE_USERNAME: c3VwZXJtYW4=
QUARKUS_DATASOURCE_PASSWORD: c3VwZXJtYW4=
---
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion rest-narration/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ metadata:
application: narration-service
system: quarkus-super-heroes
data:
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
12 changes: 6 additions & 6 deletions rest-villains/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ metadata:
application: villains-service
system: quarkus-super-heroes
data:
quarkus.hibernate-orm.database.generation: validate
quarkus.hibernate-orm.sql-load-script: no-file
quarkus.datasource.jdbc.url: jdbc:postgresql://villains-db:5432/villains_database
quarkus.otel.exporter.otlp.traces.endpoint: http://otel-collector:4317
QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION: validate
QUARKUS_HIBERNATE_ORM_DATABASE_SQL_LOAD_SCRIPT: no-file
QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://villains-db:5432/villains_database
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
---
apiVersion: v1
kind: Secret
Expand All @@ -23,8 +23,8 @@ metadata:
application: villains-service
system: quarkus-super-heroes
data:
quarkus.datasource.username: c3VwZXJiYWQ=
quarkus.datasource.password: c3VwZXJiYWQ=
QUARKUS_DATASOURCE_USERNAME: c3VwZXJiYWQ=
QUARKUS_DATASOURCE_PASSWORD: c3VwZXJiYWQ=
---
apiVersion: v1
kind: Secret
Expand Down

0 comments on commit 2f5ed77

Please sign in to comment.