init
This commit is contained in:
parent
1eb390951c
commit
995f5a5603
@ -5,6 +5,13 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
application.yaml: |
|
application.yaml: |
|
||||||
spring:
|
spring:
|
||||||
|
mvc:
|
||||||
|
cors:
|
||||||
|
allowed-origins: "*"
|
||||||
|
allowed-methods: GET, POST, PUT, DELETE, OPTIONS
|
||||||
|
allowed-headers: "*"
|
||||||
|
allow-credentials: true
|
||||||
|
max-age: 1800
|
||||||
application:
|
application:
|
||||||
name: {{$.Release.Name}}
|
name: {{$.Release.Name}}
|
||||||
datasource:
|
datasource:
|
||||||
|
|||||||
@ -3,8 +3,8 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{$.Release.Name}}-{{$.Values.name}}
|
name: {{$.Release.Name}}-{{$.Values.name}}
|
||||||
namespace: {{$.Release.Namespace}}
|
namespace: {{$.Release.Namespace}}
|
||||||
annotations:
|
{{/* annotations:*/}}
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: {{$.Release.Namespace}}-{{$.Release.Name}}-cors@kubernetescrd
|
{{/* traefik.ingress.kubernetes.io/router.middlewares: {{$.Release.Namespace}}-{{$.Release.Name}}-cors@kubernetescrd*/}}
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: {{tpl $.Values.ingress.host .}}
|
- host: {{tpl $.Values.ingress.host .}}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user