Skip to content

Commit

Permalink
Fix definition of helm repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythoner6 committed Dec 30, 2023
1 parent 3def49d commit af5fd9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
5 changes: 4 additions & 1 deletion k8s/common.cue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ appName: string

#ChartsRepo: helmrepository.#HelmRepository & {
metadata: name: "netserv-ghcr"
spec: url: "oci://ghcr.io/pythoner6/charts"
spec: {
type: "oci"
url: "oci://ghcr.io/pythoner6/charts"
}
}

c8s.#Default & {
Expand Down
26 changes: 0 additions & 26 deletions k8s/flux-components/flux.cue
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,3 @@ package netserv
appName: "flux"

kustomizations: components: {}

//fluxResources: {
// oci: ocirepository.#OCIRepository & {
// #Repository
// spec: {
// interval: "1m0s"
// ref: tag: "latest"
// url: "oci://ghcr.io/pythoner6/netserv"
// }
// }
// helm: helmrepository.#HelmRepository & {
// #HelmRepository
// spec: {
// type: "oci"
// url: "oci://ghcr.io/pythoner6/charts"
// }
// }
// "root": kustomization.#Kustomization & {
// spec: {
// path: "./"
// interval: "10m0s"
// prune: true
// sourceRef: #Ref & {_obj: #Repository}
// }
// }
//}

0 comments on commit af5fd9f

Please sign in to comment.