Skip to content

Commit

Permalink
Migrate Projects to Identity (#38)
Browse files Browse the repository at this point in the history
Makes more sense for them to live there, also means we can centralize
the scoping code and simplify the interface for all services in future.
  • Loading branch information
spjmurray authored Apr 9, 2024
1 parent 807d89c commit 723087a
Show file tree
Hide file tree
Showing 38 changed files with 249 additions and 2,996 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ REVISION := $(shell git rev-parse HEAD)
# for your host's architecture. The latter are going to run in Kubernetes, so
# want to be amd64.
CONTROLLERS = \
unikorn-organization-controller \
unikorn-project-controller \
unikorn-cluster-manager-controller \
unikorn-cluster-controller\
unikorn-server \
Expand Down
4 changes: 2 additions & 2 deletions charts/unikorn/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for deploying Unikorn

type: application

version: v0.1.15
appVersion: v0.1.15
version: v0.2.0
appVersion: v0.2.0

icon: https://raw.githubusercontent.com/unikorn-cloud/unikorn/main/icons/default.png
118 changes: 0 additions & 118 deletions charts/unikorn/crds/unikorn-cloud.org_organizations.yaml

This file was deleted.

124 changes: 0 additions & 124 deletions charts/unikorn/crds/unikorn-cloud.org_projects.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions charts/unikorn/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ Create the container images
{{- end }}
{{- end }}

{{- define "unikorn.organizationControllerImage" -}}
{{- .Values.organizationController.image | default (printf "%s/unikorn-organization-controller:%s" (include "unikorn.defaultRepositoryPath" .) (.Values.tag | default .Chart.Version)) }}
{{- end }}

{{- define "unikorn.projectControllerImage" -}}
{{- .Values.projectController.image | default (printf "%s/unikorn-project-controller:%s" (include "unikorn.defaultRepositoryPath" .) (.Values.tag | default .Chart.Version)) }}
{{- end }}

{{- define "unikorn.clusterManagerControllerImage" -}}
{{- .Values.clusterManagerController.image | default (printf "%s/unikorn-cluster-manager-controller:%s" (include "unikorn.defaultRepositoryPath" .) (.Values.tag | default .Chart.Version)) }}
{{- end }}
Expand Down
Loading

0 comments on commit 723087a

Please sign in to comment.