Skip to content

Commit

Permalink
restructure labels
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchuhmacher committed Nov 8, 2023
1 parent 18fde60 commit f244f70
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ansible/roles/schulcloud-server-core/templates/deployment.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ metadata:
namespace: {{ NAMESPACE }}
labels:
app: api
app.kubernetes.io/managed-by: {{ SCHULCLOUD_SERVER_BRANCH_NAME }}
app.kubernetes.io/part-of: {{ SCHULCLOUD_SERVER_REPO_NAME }}
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/version: {{ SCHULCLOUD_SERVER_IMAGE_TAG }}
git.branch: {{ SCHULCLOUD_SERVER_BRANCH_NAME }}
git.repo: {{ SCHULCLOUD_SERVER_REPO_NAME }}
spec:
replicas: {{ API_REPLICAS|default("1", true) }}
strategy:
Expand All @@ -23,8 +25,10 @@ spec:
metadata:
labels:
app: api
app.kubernetes.io/managed-by: {{ SCHULCLOUD_SERVER_BRANCH_NAME }}
app.kubernetes.io/part-of: {{ SCHULCLOUD_SERVER_REPO_NAME }}
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/version: {{ SCHULCLOUD_SERVER_IMAGE_TAG }}
git.branch: {{ SCHULCLOUD_SERVER_BRANCH_NAME }}
git.repo: {{ SCHULCLOUD_SERVER_REPO_NAME }}
spec:
securityContext:
runAsUser: 1000
Expand Down

0 comments on commit f244f70

Please sign in to comment.