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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -33,6 +53,9 @@ spec:
|
||||||
- name: "SPRING_PROFILES_ACTIVE"
|
- name: "SPRING_PROFILES_ACTIVE"
|
||||||
value: "dev"
|
value: "dev"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /app/application.yml
|
||||||
|
subPath: application.yml
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
mountPath: /logs
|
mountPath: /logs
|
||||||
resources:
|
resources:
|
||||||
|
@ -43,6 +66,9 @@ spec:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: admin-console
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/app_logs/admin-console
|
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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -33,6 +53,9 @@ spec:
|
||||||
- name: "SPRING_PROFILES_ACTIVE"
|
- name: "SPRING_PROFILES_ACTIVE"
|
||||||
value: "dev"
|
value: "dev"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /app/application.yml
|
||||||
|
subPath: application.yml
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
mountPath: /logs
|
mountPath: /logs
|
||||||
resources:
|
resources:
|
||||||
|
@ -43,6 +66,9 @@ spec:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: auth-middleware
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/app_logs/auth-middleware
|
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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -33,6 +53,9 @@ spec:
|
||||||
- name: "SPRING_PROFILES_ACTIVE"
|
- name: "SPRING_PROFILES_ACTIVE"
|
||||||
value: "dev"
|
value: "dev"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /app/application.yml
|
||||||
|
subPath: application.yml
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
mountPath: /logs
|
mountPath: /logs
|
||||||
resources:
|
resources:
|
||||||
|
@ -43,6 +66,9 @@ spec:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: beaconfire-auth
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/app_logs/beaconfire-auth
|
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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -33,6 +53,9 @@ spec:
|
||||||
- name: "SPRING_PROFILES_ACTIVE"
|
- name: "SPRING_PROFILES_ACTIVE"
|
||||||
value: "dev"
|
value: "dev"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /app/application.yml
|
||||||
|
subPath: application.yml
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
mountPath: /logs
|
mountPath: /logs
|
||||||
resources:
|
resources:
|
||||||
|
@ -43,6 +66,9 @@ spec:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: file-service
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/app_logs/file-service
|
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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -33,6 +53,9 @@ spec:
|
||||||
- name: "SPRING_PROFILES_ACTIVE"
|
- name: "SPRING_PROFILES_ACTIVE"
|
||||||
value: "dev"
|
value: "dev"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /app/application.yml
|
||||||
|
subPath: application.yml
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
mountPath: /logs
|
mountPath: /logs
|
||||||
resources:
|
resources:
|
||||||
|
@ -43,6 +66,9 @@ spec:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: oauth-service
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/app_logs/oauth-service
|
path: /data/app_logs/oauth-service
|
||||||
|
|
Loading…
Reference in New Issue