Skip to content

Commit

Permalink
Truncate name (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
gornication authored Feb 9, 2024
1 parent 4761d48 commit 97fd509
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions charts/brokencrystals/templates/keycloak-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "brokencrystals.fullname" . }}-keycloak-prod
name: {{ include "brokencrystals.fullname" . }}-keycloak
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "brokencrystals.fullname" . }}-keycloak-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak
spec:
selector:
matchLabels:
app: {{ include "brokencrystals.fullname" . }}-keycloak-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak
template:
metadata:
labels:
app: {{ include "brokencrystals.fullname" . }}-keycloak-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak
spec:
containers:
- name: {{ include "brokencrystals.fullname" . }}-keycloak-prod
- name: {{ include "brokencrystals.fullname" . }}-keycloak
image: jboss/keycloak:latest
resources:
requests:
Expand All @@ -34,7 +34,7 @@ spec:
- name: DB_VENDOR
value: "POSTGRES"
- name: DB_ADDR
value: "{{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod-service"
value: "{{ include "brokencrystals.fullname" . }}-keycloak-postgres"
- name: DB_DATABASE
value: "keycloak"
- name: DB_SCHEMA
Expand Down Expand Up @@ -66,11 +66,11 @@ spec:
kind: Service
apiVersion: v1
metadata:
name: {{ include "brokencrystals.fullname" . }}-keycloak-prod-service
name: {{ include "brokencrystals.fullname" . }}-keycloak
namespace: {{ .Release.Namespace }}
spec:
selector:
app: {{ include "brokencrystals.fullname" . }}-keycloak-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak
ports:
- name: http
port: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod
name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
spec:
selector:
matchLabels:
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
template:
metadata:
labels:
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
spec:
containers:
- name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod
- name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
image: postgres:12.2-alpine
livenessProbe:
tcpSocket:
Expand All @@ -40,11 +40,11 @@ spec:
kind: Service
apiVersion: v1
metadata:
name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod-service
name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
namespace: {{ .Release.Namespace }}
spec:
selector:
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres-prod
app: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
ports:
- name: postgres-keycloak
port: 5432
Expand Down

0 comments on commit 97fd509

Please sign in to comment.