diff --git a/dev-upgrade/sevice-group/admin-console.yml b/dev-upgrade/sevice-group/admin-console.yml index 13e67ce..2638462 100644 --- a/dev-upgrade/sevice-group/admin-console.yml +++ b/dev-upgrade/sevice-group/admin-console.yml @@ -1,3 +1,23 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: admin-console +data: + application.yml: | + spring: + application: + name: admin-console + profiles: + active: dev + cloud: + config: + label: main + config: + import: optional:configserver:http://config-server:8888 + springdoc: + api-docs: + enabled: false + apiVersion: apps/v1 kind: Deployment metadata: @@ -33,6 +53,9 @@ spec: - name: "SPRING_PROFILES_ACTIVE" value: "dev" volumeMounts: + - name: config + mountPath: /app/application.yml + subPath: application.yml - name: app-logs mountPath: /logs resources: @@ -43,6 +66,9 @@ spec: cpu: 1 memory: 2Gi volumes: + - name: config + configMap: + name: admin-console - name: app-logs hostPath: path: /data/app_logs/admin-console diff --git a/dev-upgrade/sevice-group/auth-middleware.yml b/dev-upgrade/sevice-group/auth-middleware.yml index facbb84..5e36f03 100644 --- a/dev-upgrade/sevice-group/auth-middleware.yml +++ b/dev-upgrade/sevice-group/auth-middleware.yml @@ -1,3 +1,23 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: auth-middleware +data: + application.yml: | + spring: + application: + name: auth-middleware + profiles: + active: dev + cloud: + config: + label: main + config: + import: optional:configserver:http://config-server:8888 + springdoc: + api-docs: + enabled: false +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -33,6 +53,9 @@ spec: - name: "SPRING_PROFILES_ACTIVE" value: "dev" volumeMounts: + - name: config + mountPath: /app/application.yml + subPath: application.yml - name: app-logs mountPath: /logs resources: @@ -43,6 +66,9 @@ spec: cpu: 1 memory: 2Gi volumes: + - name: config + configMap: + name: auth-middleware - name: app-logs hostPath: path: /data/app_logs/auth-middleware diff --git a/dev-upgrade/sevice-group/beaconfire-auth.yml b/dev-upgrade/sevice-group/beaconfire-auth.yml index 9d0ef3a..3922cb0 100644 --- a/dev-upgrade/sevice-group/beaconfire-auth.yml +++ b/dev-upgrade/sevice-group/beaconfire-auth.yml @@ -1,3 +1,23 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: beaconfire-auth +data: + application.yml: | + spring: + application: + name: beaconfire-auth + profiles: + active: dev + cloud: + config: + label: main + config: + import: optional:configserver:http://config-server:8888 + springdoc: + api-docs: + enabled: false +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -33,6 +53,9 @@ spec: - name: "SPRING_PROFILES_ACTIVE" value: "dev" volumeMounts: + - name: config + mountPath: /app/application.yml + subPath: application.yml - name: app-logs mountPath: /logs resources: @@ -43,6 +66,9 @@ spec: cpu: 1 memory: 2Gi volumes: + - name: config + configMap: + name: beaconfire-auth - name: app-logs hostPath: path: /data/app_logs/beaconfire-auth diff --git a/dev-upgrade/sevice-group/file-service.yml b/dev-upgrade/sevice-group/file-service.yml index ee57ccb..739d551 100644 --- a/dev-upgrade/sevice-group/file-service.yml +++ b/dev-upgrade/sevice-group/file-service.yml @@ -1,3 +1,23 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: file-service +data: + application.yml: | + spring: + application: + name: file-service + profiles: + active: dev + cloud: + config: + label: main + config: + import: optional:configserver:http://config-server:8888 + springdoc: + api-docs: + enabled: false +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -33,6 +53,9 @@ spec: - name: "SPRING_PROFILES_ACTIVE" value: "dev" volumeMounts: + - name: config + mountPath: /app/application.yml + subPath: application.yml - name: app-logs mountPath: /logs resources: @@ -43,6 +66,9 @@ spec: cpu: 1 memory: 2Gi volumes: + - name: config + configMap: + name: file-service - name: app-logs hostPath: path: /data/app_logs/file-service diff --git a/dev-upgrade/sevice-group/oauth-service.yml b/dev-upgrade/sevice-group/oauth-service.yml index dfcefb6..bb0ddf6 100644 --- a/dev-upgrade/sevice-group/oauth-service.yml +++ b/dev-upgrade/sevice-group/oauth-service.yml @@ -1,3 +1,23 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: oauth-service +data: + application.yml: | + spring: + application: + name: oauth-service + profiles: + active: dev + cloud: + config: + label: main + config: + import: optional:configserver:http://config-server:8888 + springdoc: + api-docs: + enabled: false +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -33,6 +53,9 @@ spec: - name: "SPRING_PROFILES_ACTIVE" value: "dev" volumeMounts: + - name: config + mountPath: /app/application.yml + subPath: application.yml - name: app-logs mountPath: /logs resources: @@ -43,6 +66,9 @@ spec: cpu: 1 memory: 2Gi volumes: + - name: config + configMap: + name: oauth-service - name: app-logs hostPath: path: /data/app_logs/oauth-service