feat(hydra-ldap): rename resources from werther to hydra-ldap

This commit is contained in:
wpetit 2023-12-11 09:50:13 +01:00
parent 60af2f7a7f
commit 2db406470a
3 changed files with 12 additions and 15 deletions

View File

@ -6,7 +6,7 @@ resources:
- ./resources/service.yaml
configMapGenerator:
- name: werther-env
- name: hydra-ldap-env
literals:
- WERTHER_DEV_MODE=false
- WERTHER_LDAP_ROLE_CLAIM="https://hydra/claims/roles"
@ -20,7 +20,7 @@ configMapGenerator:
- WERTHER_LDAP_CONNECTION_TIMEOUT="10s"
secretGenerator:
- name: werther-ldap-sc
- name: hydra-ldap-sc
literals:
- WERTHER_LDAP_BINDDN="cn=reader,o=test,c=fr"
- WERTHER_LDAP_BINDPW=ThisMustBeAbsolutelyChanged

View File

@ -1,23 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: werther
name: hydra-ldap
namespace: default
labels:
app.kubernetes.io/name: werther
app.kubernetes.io/instance: werther
app.kubernetes.io/name: hydra-ldap
app.kubernetes.io/version: "v1.2.2"
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: werther
app.kubernetes.io/instance: werther
app.kubernetes.io/name: hydra-ldap
template:
metadata:
labels:
app.kubernetes.io/name: werther
app.kubernetes.io/instance: werther
app.kubernetes.io/name: hydra-ldap
app.kubernetes.io/version: "v1.2.2"
spec:
containers:
@ -26,7 +23,7 @@ spec:
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
name: werther-env
name: hydra-ldap-env
env:
- name: WERTHER_WEB_DIR
value: "/usr/share/werther/login/"

View File

@ -2,16 +2,16 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: werther
name: werther
io.kompose.service: hydra-ldap
name: hydra-ldap
spec:
type: ClusterIP
ports:
- name: werther
- name: hydra-ldap
port: 8080
targetPort: werther-http
targetPort: hydra-ldap-http
protocol: TCP
selector:
app.kubernetes.io/name: werther
app.kubernetes.io/name: hydra-ldap
status:
loadBalancer: {}