Updated to newer template with option referencing values

This commit is contained in:
2023-08-20 19:40:24 +02:00
parent 764ee3ca12
commit 91e3de1a1b
4 changed files with 22 additions and 18 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: template
repository: file://../template
version: 0.1.3
digest: sha256:bcd2fe30f0e4dad638a4bc8bc59b26e14b369ad58888ebdff4dc71176b0a6926
generated: "2023-08-20T18:51:20.571292+02:00"
version: 0.1.4
digest: sha256:279dbe36571da1eee759185be5f2993c19ec9288c8b00ff6ab5ca75316888584
generated: "2023-08-20T19:36:58.229885+02:00"
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: v2
name: configserver
version: 0.1.2
version: 0.1.3
type: application
description: "Minimal Spring Boot config server"
maintainers:
@@ -10,5 +10,5 @@ sources:
- https://git.2martens.de/2martens/config-server
dependencies:
- name: template
version: 0.1.3
version: 0.1.4
repository: file://../template
+4
View File
@@ -2,3 +2,7 @@
This chart installs a minimal Spring Boot configserver into
the Kubernetes cluster.
## Requirements
* needs a running Kafka instance (host and port can be configured)
+12 -12
View File
@@ -5,12 +5,12 @@ image:
application:
port: &applicationPort 8888
actuatorPort: &actuatorPort 13000
prefix: &prefix /config
repositoryPath: &repositoryPath "https://git.2martens.de/2martens/{application}"
searchPath: &searchPath module-server/src/main/resources/config
prefix: /config
repositoryPath: "https://git.2martens.de/2martens/{application}"
searchPath: module-server/src/main/resources/config
kafka:
host: &kafkaHost kafka
port: &kafkaPort 9092
host: kafka
port: 9092
service:
port: *applicationPort
@@ -18,16 +18,16 @@ service:
environment:
- name: PORT
value: *applicationPort
value: {{ .Values.application.port }}
- name: ACTUATOR_PORT
value: *actuatorPort
value: {{ .Values.application.actuatorPort }}
- name: PREFIX
value: *prefix
value: {{ .Values.application.prefix }}
- name: REPOSITORY_PATH
value: *repositoryPath
value: {{ .Values.application.repositoryPath }}
- name: SEARCH_PATH
value: *searchPath
value: {{ .Values.application.searchPath }}
- name: KAFKA_HOST
value: *kafkaHost
value: {{ .Values.application.kafka.host }}
- name: KAFKA_PORT
value: *kafkaPort
value: {{ .Values.application.kafka.port }}