Skip to content

Commit

Permalink
feat: Create capsule tenant resource (#4)
Browse files Browse the repository at this point in the history
* Added Tenant Capsule Resource for tenant isolation and resource management

Jira EPMDEDP-12592

Related #4

Change-Id: Ia2743522b0fcfd129abe0f73bbf56eec93fbf3dc
  • Loading branch information
Oleksandr Taruraiev committed Sep 20, 2023
1 parent d795146 commit 3c41e50
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions deploy-templates/templates/capsule/tenant.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- if eq .Values.tenancyEngine "capsule" -}}
{{- if eq .Values.global.platform "kubernetes" -}}
{{- if .Values.manageNamespace -}}
apiVersion: capsule.clastix.io/v1beta1
kind: Tenant
metadata:
labels:
{{- include "cd-pipeline-operator.labels" . | nindent 4 }}
name: {{ .Release.Namespace }}
spec:
owners:
- kind: ServiceAccount
name: system:serviceaccount:{{ .Release.Namespace }}:edp-cd-pipeline-operator
{{- end -}}
{{- end -}}
{{- end -}}

0 comments on commit 3c41e50

Please sign in to comment.