Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: outdated samples after update #44

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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