-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial implementation * Add alias parameter to the makefile to test the instantiation
- Loading branch information
Showing
24 changed files
with
1,633 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,9 @@ docs/antora.yml: | |
key: instance | ||
entries: | ||
- defaults | ||
- oidc | ||
- openshift | ||
|
||
Makefile: | ||
includes: | ||
- Makefile.custom.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Configure instance alias for commodore component compile | ||
commodore_args += --alias $(instance) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,39 @@ | ||
parameters: | ||
vcluster: | ||
=_metadata: {} | ||
namespace: syn-vcluster | ||
multi_instance: true | ||
namespace: syn-${_instance} | ||
|
||
host_service_cidr: null | ||
|
||
images: | ||
k3s: | ||
repository: docker.io | ||
image: rancher/k3s | ||
tag: v1.22.2-k3s1 | ||
syncer: | ||
repository: docker.io | ||
image: loftsh/vcluster | ||
tag: 0.5.0-alpha.6 | ||
kubectl: | ||
repository: quay.io | ||
image: bitnami/kubectl | ||
tag: "1.22.4" | ||
|
||
storage: | ||
persistence: true | ||
size: 5Gi | ||
class_name: null | ||
|
||
ingress: | ||
host: null | ||
labels: {} | ||
annotations: {} | ||
|
||
ocp_route: | ||
host: null | ||
|
||
k3s: | ||
additional_args: [] | ||
syncer: | ||
additional_args: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
local kap = import 'lib/kapitan.libjsonnet'; | ||
local inv = kap.inventory(); | ||
local params = inv.parameters.vcluster; | ||
local instance = inv.parameters._instance; | ||
local argocd = import 'lib/argocd.libjsonnet'; | ||
|
||
local app = argocd.App('vcluster', params.namespace); | ||
local app = argocd.App(instance, params.namespace); | ||
|
||
{ | ||
vcluster: app, | ||
[instance]: app, | ||
} |
Oops, something went wrong.