diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7051da7..4f53342 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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: diff --git a/ansible/roles/h5p-staticfiles-server-core/templates/deployment.yml.j2 b/ansible/roles/h5p-staticfiles-server-core/templates/deployment.yml.j2 index 7850ad8..346723c 100644 --- a/ansible/roles/h5p-staticfiles-server-core/templates/deployment.yml.j2 +++ b/ansible/roles/h5p-staticfiles-server-core/templates/deployment.yml.j2 @@ -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: @@ -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 @@ -64,4 +72,3 @@ spec: requests: cpu: {{ H5P_STATICFIILES_SERVER_CPU_REQUESTS|default("100m", true) }} memory: {{ H5P_STATICFIILES_SERVER_MEMORY_REQUESTS|default("128Mi", true) }} -