feat(component): adding hydra-ldap #6
|
@ -6,7 +6,7 @@ resources:
|
||||||
- ./resources/service.yaml
|
- ./resources/service.yaml
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: werther-env
|
- name: hydra-ldap-env
|
||||||
literals:
|
literals:
|
||||||
- WERTHER_DEV_MODE=false
|
- WERTHER_DEV_MODE=false
|
||||||
- WERTHER_LDAP_ROLE_CLAIM="https://hydra/claims/roles"
|
- WERTHER_LDAP_ROLE_CLAIM="https://hydra/claims/roles"
|
||||||
|
@ -20,7 +20,7 @@ configMapGenerator:
|
||||||
- WERTHER_LDAP_CONNECTION_TIMEOUT="10s"
|
- WERTHER_LDAP_CONNECTION_TIMEOUT="10s"
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: werther-ldap-sc
|
- name: hydra-ldap-sc
|
||||||
literals:
|
literals:
|
||||||
- WERTHER_LDAP_BINDDN="cn=reader,o=test,c=fr"
|
- WERTHER_LDAP_BINDDN="cn=reader,o=test,c=fr"
|
||||||
- WERTHER_LDAP_BINDPW=ThisMustBeAbsolutelyChanged
|
- WERTHER_LDAP_BINDPW=ThisMustBeAbsolutelyChanged
|
|
@ -1,23 +1,20 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: werther
|
name: hydra-ldap
|
||||||
namespace: default
|
namespace: default
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: werther
|
app.kubernetes.io/name: hydra-ldap
|
||||||
app.kubernetes.io/instance: werther
|
|
||||||
app.kubernetes.io/version: "v1.2.2"
|
app.kubernetes.io/version: "v1.2.2"
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: werther
|
app.kubernetes.io/name: hydra-ldap
|
||||||
app.kubernetes.io/instance: werther
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: werther
|
app.kubernetes.io/name: hydra-ldap
|
||||||
app.kubernetes.io/instance: werther
|
|
||||||
app.kubernetes.io/version: "v1.2.2"
|
app.kubernetes.io/version: "v1.2.2"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
@ -26,7 +23,7 @@ spec:
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: werther-env
|
name: hydra-ldap-env
|
||||||
env:
|
env:
|
||||||
- name: WERTHER_WEB_DIR
|
- name: WERTHER_WEB_DIR
|
||||||
value: "/usr/share/werther/login/"
|
value: "/usr/share/werther/login/"
|
|
@ -2,16 +2,16 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: werther
|
io.kompose.service: hydra-ldap
|
||||||
name: werther
|
name: hydra-ldap
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- name: werther
|
- name: hydra-ldap
|
||||||
port: 8080
|
port: 8080
|
||||||
targetPort: werther-http
|
targetPort: hydra-ldap-http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/name: werther
|
app.kubernetes.io/name: hydra-ldap
|
||||||
status:
|
status:
|
||||||
loadBalancer: {}
|
loadBalancer: {}
|
Loading…
Reference in New Issue