Skip to content

Commit

Permalink
remove workspaces from production clusters (#4767)
Browse files Browse the repository at this point in the history
With the decision from upstream Konflux to not pursue a workspaces
abstraction, it doesn't make sense to have workspaces deployed to the
production clusters.  Staging will be removed once all of the
dependencies on workspaces that exist there (UI) have been changed to no
longer depend on workspaces.

Signed-off-by: Andy Sadler <[email protected]>
  • Loading branch information
sadlerap authored Oct 22, 2024
1 parent e8e07b3 commit 3de751f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 73 deletions.
6 changes: 0 additions & 6 deletions argo-cd-apps/base/host/workspaces/workspaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ spec:
values.clusterDir: stone-stage-p01
- nameNormalized: stone-stg-host
values.clusterDir: stone-stg-host
- nameNormalized: stone-prod-p01
values.clusterDir: stone-prod-p01
- nameNormalized: stone-prod-p02
values.clusterDir: stone-prod-p02
- nameNormalized: stone-prd-host1
values.clusterDir: stone-prd-host1
template:
metadata:
name: workspaces-{{nameNormalized}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ kind: ApplicationSet
metadata:
name: workspaces-member
$patch: delete
---
# Workspaces is deprecated from production use cases
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: workspaces
$patch: delete
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ kind: ApplicationSet
metadata:
name: workspaces-member
$patch: delete
---
# Workspaces is deprecated from production use cases
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: workspaces
$patch: delete

This file was deleted.

18 changes: 0 additions & 18 deletions components/workspaces/production/stone-prd-host1/route.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions components/workspaces/production/stone-prod-p01/kustomization.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions components/workspaces/production/stone-prod-p02/kustomization.yaml

This file was deleted.

0 comments on commit 3de751f

Please sign in to comment.