Skip to content

Commit

Permalink
fix: demo setup to use correct path for platform cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
aclevername committed Aug 10, 2023
1 parent ad2bb50 commit 202cff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions demo/app-as-a-service/destination.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ apiVersion: platform.kratix.io/v1alpha1
kind: Destination
metadata:
name: worker-2
namespace: default
spec:
stateStoreRef:
kind: BucketStateStore
name: default
name: minio-store
2 changes: 1 addition & 1 deletion scripts/register-destination
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ load_options() {

prepare_destination() {
local context=""
$ROOT/scripts/install-gitops --context $DESTINATION_CONTEXT --path "platform-destination"
$ROOT/scripts/install-gitops --context $DESTINATION_CONTEXT --path "platform-cluster"

local yqOpts=".metadata.name = \"$NAME\" | .metadata.labels = {} | .spec.stateStoreRef.name = \"$STATE_STORE\""
yq "${yqOpts}" $ROOT/config/samples/platform_v1alpha1_worker.yaml |
Expand Down

0 comments on commit 202cff2

Please sign in to comment.