Skip to content

Commit

Permalink
chore: refactor example project&stack to be allowed to apply (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
howieyuen authored Mar 30, 2023
1 parent 9541ad0 commit 88c2929
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 25 deletions.
24 changes: 0 additions & 24 deletions static/stack/ci-test/std.golden.yaml

This file was deleted.

25 changes: 25 additions & 0 deletions static/stack/ci-test/stdout.golden.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
id: apps/v1:Deployment:default:nginx
type: Kubernetes
attributes:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
namespace: default
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
3 changes: 2 additions & 1 deletion static/stack/main.k
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
id = "apps/v1:Deployment:nginx"
id = "apps/v1:Deployment:default:nginx"
$type = "Kubernetes"
attributes = {
apiVersion = "apps/v1"
kind = "Deployment"
metadata = {
name = "nginx"
namespace = "default"
labels.app = "nginx"
}
spec = {
Expand Down

0 comments on commit 88c2929

Please sign in to comment.