-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update implementation of the cluster-stack remote api
Signed-off-by: michal.gubricky <[email protected]>
- Loading branch information
1 parent
267d88c
commit e015cd4
Showing
4 changed files
with
228 additions
and
62 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Cluster-stack and OpenStack cluster-stack release resource templates | ||
apiVersion: clusterstack.x-k8s.io/v1alpha1 | ||
kind: ClusterStack | ||
metadata: | ||
name: clusterstack | ||
namespace: ${CS_NAMESPACE} | ||
spec: | ||
provider: openstack | ||
name: ${CS_NAME} | ||
kubernetesVersion: "${CS_K8S_VERSION}" | ||
channel: ${CS_CHANNEL} | ||
autoSubscribe: false | ||
providerRef: | ||
apiVersion: infrastructure.clusterstack.x-k8s.io/v1alpha1 | ||
kind: OpenStackClusterStackReleaseTemplate | ||
name: cspotemplate | ||
versions: | ||
- ${CS_VERSION} | ||
--- | ||
apiVersion: infrastructure.clusterstack.x-k8s.io/v1alpha1 | ||
kind: OpenStackClusterStackReleaseTemplate | ||
metadata: | ||
name: cspotemplate | ||
namespace: ${CS_NAMESPACE} | ||
spec: | ||
template: | ||
spec: | ||
identityRef: | ||
kind: Secret | ||
name: ${CS_SECRETNAME} |
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,3 +1,16 @@ | ||
kubeconfig: "../../playbooks/k8s_configs/moin_cluster_kubeconfig.yaml" | ||
workloadcluster: "../../playbooks/k8s_configs/moin_cluster_workloadcluster.yaml" | ||
namespace: "kaas-playground1" | ||
kubeconfig: "moin_cluster_kubeconfig.yaml" | ||
workloadcluster: "moin_cluster_workloadcluster.yaml" | ||
clusterstack: "moin_cluster_clusterstack.yaml" | ||
namespace: "kaas-playground8" | ||
|
||
# Cluster-stack related configuration | ||
cs_name: "scs" # Cluster Stack Name | ||
cs_version: "v1" # Cluster Stack Version | ||
cs_channel: "stable" # Release channel | ||
cs_secretname: "openstack" # Cloud name from OpenStack clouds.yaml | ||
|
||
# Cluster Information | ||
cs_pod_cidr: "192.168.0.0/16" # Pod CIDR for networking | ||
cs_service_cidr: "10.96.0.0/12" # Service CIDR for networking | ||
cs_external_id: "ebfe5546-f09f-4f42-ab54-094e457d42ec" # External ID for the Cluster Stack | ||
cs_k8s_patch_version: "9" # Kubernetes patch version to use |
Oops, something went wrong.