Skip to content

Commit

Permalink
add labels to legacy client deployment and pods
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchuhmacher committed Nov 9, 2023
1 parent 8c3be55 commit cf682d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
needs:
- build_and_push
- branch_name
uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@main
uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@BC-5405-labels-k8s
with:
branch: ${{ needs.branch_name.outputs.branch }}
secrets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
namespace: {{ NAMESPACE }}
labels:
app: calendar
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/version: {{ SCHULCLOUD_CALENDAR_IMAGE_TAG }}
git.branch: {{ SCHULCLOUD_CALENDAR_BRANCH_NAME }}
git.repo: {{ SCHULCLOUD_CALENDAR_REPO_NAME }}
spec:
replicas: {{ CALENDAR_REPLICAS|default("1", true) }}
selector:
Expand All @@ -14,6 +18,10 @@ spec:
metadata:
labels:
app: calendar
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/version: {{ SCHULCLOUD_CALENDAR_IMAGE_TAG }}
git.branch: {{ SCHULCLOUD_CALENDAR_BRANCH_NAME }}
git.repo: {{ SCHULCLOUD_CALENDAR_REPO_NAME }}
spec:
securityContext:
#readOnlyRootFilesystem: true
Expand Down Expand Up @@ -67,4 +75,3 @@ spec:
requests:
cpu: {{ CALENDAR_CPU_REQUESTS|default("100m", true) }}
memory: {{ CALENDAR_MEMORY_REQUESTS|default("128Mi", true) }}

0 comments on commit cf682d7

Please sign in to comment.