Skip to content

Commit

Permalink
fix: outdated samples after update (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliecharra authored Jun 20, 2024
1 parent 74c4c84 commit 9964082
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
5 changes: 2 additions & 3 deletions config/samples/_v1beta1_context.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions config/samples/_v1beta1_policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion config/samples/_v1beta1_space.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ kind: Space
metadata:
name: space-sample
spec:
name: my test space
parentSpace: root
10 changes: 4 additions & 6 deletions config/samples/_v1beta1_stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9964082

Please sign in to comment.