Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ spec:
valueFrom:
secretKeyRef:
name: rabbit-secret
key: username
key: RABBIT_USERNAME
- name: RABBIT_PASSWORD
valueFrom:
secretKeyRef:
name: rabbit-secret
key: password
key: RABBIT_PASSWORD
readinessProbe:
httpGet:
path: /actuator/health
port: 8150
port: 8110
initialDelaySeconds: 15
periodSeconds: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 8150
port: 8110
initialDelaySeconds: 30
periodSeconds: 10
4 changes: 2 additions & 2 deletions k8s/rabbit_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ spec:
valueFrom:
secretKeyRef:
name: rabbit-secret
key: username
key: RABBIT_USERNAME
- name: RABBIT_PASSWORD
valueFrom:
secretKeyRef:
name: rabbit-secret
key: password
key: RABBIT_PASSWORD
livenessProbe:
exec:
command: ["rabbitmq-diagnostics", "status"]
Expand Down
8 changes: 4 additions & 4 deletions k8s/rabbit_secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: Secret
metadata:
name: rabbit-secret
labels:
app: rabbitmq
app: rabbit
type: Opaque
stringData:
username: Z3Vlc3Q=
password: Z3Vlc3Q=
data:
RABBIT_USERNAME: Z3Vlc3Q=
RABBIT_PASSWORD: Z3Vlc3Q=
Loading