From e17b0ed7d3b3eebbeb9ab5bcdea9133e46c35526 Mon Sep 17 00:00:00 2001 From: Elie CHARRA Date: Thu, 20 Jun 2024 10:49:29 +0200 Subject: [PATCH] fix: outdated samples after update --- config/samples/_v1beta1_context.yaml | 5 ++--- config/samples/_v1beta1_policy.yaml | 3 +-- config/samples/_v1beta1_space.yaml | 1 - config/samples/_v1beta1_stack.yaml | 10 ++++------ 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/config/samples/_v1beta1_context.yaml b/config/samples/_v1beta1_context.yaml index 4bb7aba..8d0b60a 100644 --- a/config/samples/_v1beta1_context.yaml +++ b/config/samples/_v1beta1_context.yaml @@ -3,10 +3,9 @@ kind: Context metadata: name: context-sample spec: - name: test - space: space-sample + spaceName: space-sample attachments: - - { stack: stack-sample } + - { stackName: stack-sample } environment: - id: foo value: bar diff --git a/config/samples/_v1beta1_policy.yaml b/config/samples/_v1beta1_policy.yaml index 4b33b5f..b2f5a10 100644 --- a/config/samples/_v1beta1_policy.yaml +++ b/config/samples/_v1beta1_policy.yaml @@ -3,11 +3,10 @@ kind: Policy metadata: name: policy-sample spec: - name: test policy type: PLAN spaceName: space-sample description: Prevent creation of IAM users test - attachedStacks: + attachedStacksNames: - stack-sample body: | package spacelift diff --git a/config/samples/_v1beta1_space.yaml b/config/samples/_v1beta1_space.yaml index b213585..08e8bc7 100644 --- a/config/samples/_v1beta1_space.yaml +++ b/config/samples/_v1beta1_space.yaml @@ -3,5 +3,4 @@ kind: Space metadata: name: space-sample spec: - name: my test space parentSpace: root diff --git a/config/samples/_v1beta1_stack.yaml b/config/samples/_v1beta1_stack.yaml index d85138d..fc8cdff 100644 --- a/config/samples/_v1beta1_stack.yaml +++ b/config/samples/_v1beta1_stack.yaml @@ -3,9 +3,7 @@ kind: Stack metadata: name: stack-sample spec: - name: spacelift operator stack - settings: - spaceName: space-sample - administrative: false - branch: main - repository: ORG/REPO_NAME + spaceName: space-sample + administrative: false + branch: main + repository: ORG/REPO_NAME