add configmap
parent
0019afe4f9
commit
223751c684
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue