Skip to content

Commit

Permalink
bug: add labels to HPAs (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Jan 16, 2024
1 parent df6fb3f commit 672f937
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend-go/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ objects:
- apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
labels:
app: "${NAME}-${ZONE}"
name: "${NAME}-${ZONE}-${COMPONENT}"
spec:
scaleTargetRef:
Expand Down
2 changes: 2 additions & 0 deletions backend-java/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ objects:
- apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
labels:
app: "${NAME}-${ZONE}"
name: "${NAME}-${ZONE}-${COMPONENT}"
spec:
scaleTargetRef:
Expand Down
2 changes: 2 additions & 0 deletions backend-py/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ objects:
- apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
labels:
app: "${NAME}-${ZONE}"
name: "${NAME}-${ZONE}-${COMPONENT}"
spec:
scaleTargetRef:
Expand Down

0 comments on commit 672f937

Please sign in to comment.