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: dependencies:
- name: template - name: template
repository: file://../template repository: file://../template
version: 0.1.3 version: 0.1.4
digest: sha256:bcd2fe30f0e4dad638a4bc8bc59b26e14b369ad58888ebdff4dc71176b0a6926 digest: sha256:279dbe36571da1eee759185be5f2993c19ec9288c8b00ff6ab5ca75316888584
generated: "2023-08-20T18:51:20.571292+02:00" generated: "2023-08-20T19:36:58.229885+02:00"
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: configserver name: configserver
version: 0.1.2 version: 0.1.3
type: application type: application
description: "Minimal Spring Boot config server" description: "Minimal Spring Boot config server"
maintainers: maintainers:
@@ -10,5 +10,5 @@ sources:
- https://git.2martens.de/2martens/config-server - https://git.2martens.de/2martens/config-server
dependencies: dependencies:
- name: template - name: template
version: 0.1.3 version: 0.1.4
repository: file://../template repository: file://../template
+4
View File
@@ -2,3 +2,7 @@
This chart installs a minimal Spring Boot configserver into This chart installs a minimal Spring Boot configserver into
the Kubernetes cluster. 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: application:
port: &applicationPort 8888 port: &applicationPort 8888
actuatorPort: &actuatorPort 13000 actuatorPort: &actuatorPort 13000
prefix: &prefix /config prefix: /config
repositoryPath: &repositoryPath "https://git.2martens.de/2martens/{application}" repositoryPath: "https://git.2martens.de/2martens/{application}"
searchPath: &searchPath module-server/src/main/resources/config searchPath: module-server/src/main/resources/config
kafka: kafka:
host: &kafkaHost kafka host: kafka
port: &kafkaPort 9092 port: 9092
service: service:
port: *applicationPort port: *applicationPort
@@ -18,16 +18,16 @@ service:
environment: environment:
- name: PORT - name: PORT
value: *applicationPort value: {{ .Values.application.port }}
- name: ACTUATOR_PORT - name: ACTUATOR_PORT
value: *actuatorPort value: {{ .Values.application.actuatorPort }}
- name: PREFIX - name: PREFIX
value: *prefix value: {{ .Values.application.prefix }}
- name: REPOSITORY_PATH - name: REPOSITORY_PATH
value: *repositoryPath value: {{ .Values.application.repositoryPath }}
- name: SEARCH_PATH - name: SEARCH_PATH
value: *searchPath value: {{ .Values.application.searchPath }}
- name: KAFKA_HOST - name: KAFKA_HOST
value: *kafkaHost value: {{ .Values.application.kafka.host }}
- name: KAFKA_PORT - name: KAFKA_PORT
value: *kafkaPort value: {{ .Values.application.kafka.port }}