Skip to content

Commit

Permalink
Set CUE language version
Browse files Browse the repository at this point in the history
Adapt modules to CUE v0.9 breaking changes

Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Jun 28, 2024
1 parent 1bc0ea0 commit f25754f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 13 deletions.
1 change: 1 addition & 0 deletions modules/flux-aio/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
module: "timoni.sh/flux-aio"
language: version: "v0.9.0"
2 changes: 1 addition & 1 deletion modules/flux-aio/templates/config.cue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ import (

// Instance takes the config values and outputs the Kubernetes objects.
#Instance: {
config: #Config
config: #Config
containerEnv: #ContainerEnv & {#config: config}

containers: [
Expand Down
1 change: 1 addition & 0 deletions modules/flux-git-sync/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
module: "timoni.sh/flux-git-sync"
language: version: "v0.9.0"
4 changes: 1 addition & 3 deletions modules/flux-git-sync/values.cue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
package main

// Defaults
values: {

}
values: {}
1 change: 1 addition & 0 deletions modules/flux-helm-release/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
module: "timoni.sh/flux-helm-release"
language: version: "v0.9.0"
4 changes: 1 addition & 3 deletions modules/flux-helm-release/values.cue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
package main

// Defaults
values: {

}
values: {}
1 change: 1 addition & 0 deletions modules/flux-oci-sync/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
module: "timoni.sh/flux-oci-sync"
language: version: "v0.9.0"
4 changes: 1 addition & 3 deletions modules/flux-oci-sync/values.cue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
package main

// Defaults
values: {

}
values: {}
1 change: 1 addition & 0 deletions modules/flux-tenant/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
module: "timoni.sh/flux-tenant"
language: version: "v0.9.0"
4 changes: 1 addition & 3 deletions modules/flux-tenant/values.cue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
package main

// Defaults
values: {

}
values: {}

0 comments on commit f25754f

Please sign in to comment.