Skip to content

Commit

Permalink
add labels to ver aggregator deployment and pods
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchuhmacher committed Nov 9, 2023
1 parent 99a92f6 commit f70cfc6
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 @@ -65,7 +65,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: h5p-staticfiles-server
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/version: {{ H5P_STATICFILES_SERVER_IMAGE_TAG }}
git.branch: {{ H5P_STATICFILES_SERVER_BRANCH_NAME }}
git.repo: {{ H5P_STATICFILES_SERVER_REPO_NAME }}
spec:
replicas: {{ H5P_STATICFILES_SERVER_REPLICAS|default("1", true) }}
selector:
Expand All @@ -14,6 +18,10 @@ spec:
metadata:
labels:
app: h5p-staticfiles-server
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/version: {{ H5P_STATICFILES_SERVER_IMAGE_TAG }}
git.branch: {{ H5P_STATICFILES_SERVER_BRANCH_NAME }}
git.repo: {{ H5P_STATICFILES_SERVER_REPO_NAME }}
spec:
securityContext:
runAsUser: 101
Expand Down Expand Up @@ -64,4 +72,3 @@ spec:
requests:
cpu: {{ H5P_STATICFIILES_SERVER_CPU_REQUESTS|default("100m", true) }}
memory: {{ H5P_STATICFIILES_SERVER_MEMORY_REQUESTS|default("128Mi", true) }}

0 comments on commit f70cfc6

Please sign in to comment.