Skip to content

Commit

Permalink
Add rancher-stable helm repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Nov 9, 2021
1 parent b06e6c0 commit 7186720
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkg/resources/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ func ToBootstrapFile(config *config.Config, path string) (*applyinator.File, err
"token": token,
},
},
}, v1.GenericMap{
Data: map[string]interface{}{
"apiVersion": "catalog.cattle.io/v1",
"kind": "ClusterRepo",
"metadata": map[string]interface{}{
"name": "rancher-stable",
},
"spec": map[string]interface{}{
"url": "https://releases.rancher.com/server-charts/stable",
},
},
}), path)
}
func ToFile(resources []v1.GenericMap, path string) (*applyinator.File, error) {
Expand Down

0 comments on commit 7186720

Please sign in to comment.