Skip to content

Commit

Permalink
removed docs from .gitignore
Browse files Browse the repository at this point in the history
Signed-off-by: Nuno do Carmo [email protected]
  • Loading branch information
nunix committed Nov 12, 2024
1 parent db61369 commit 5f15dc8
Show file tree
Hide file tree
Showing 267 changed files with 14,644 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
tmp/
docs/
node_modules/
build/
.vscode/
Expand Down
10 changes: 10 additions & 0 deletions docs/next/antora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: turtles
title: Rancher Turtles
version: next
display_version: 'Next'
start_page: en:index.adoc
asciidoc:
attributes:
product_name: Rancher Turtles
nav:
- modules/en/nav.adoc
Binary file added docs/next/modules/en/images/30000ft_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/next/modules/en/images/capi_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/next/modules/en/images/favicon.ico
Binary file not shown.
Binary file added docs/next/modules/en/images/gh_clone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/next/modules/en/images/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/next/modules/en/images/image1554.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/next/modules/en/images/intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
106 changes: 106 additions & 0 deletions docs/next/modules/en/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/next/modules/en/images/ns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions docs/next/modules/en/images/rancher-logo-cow-blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/next/modules/en/images/sidebar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions docs/next/modules/en/nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
* Getting Started
** xref:index.adoc[Introduction]
** xref:getting-started/rancher.adoc[Rancher Setup]
** Install {product_name}
*** xref:getting-started/install-rancher-turtles/using_rancher_dashboard.adoc[Via Rancher Dashboard]
*** xref:getting-started/install-rancher-turtles/using_helm.adoc[Via Helm Install]
** Your first cluster
*** xref:getting-started/create-first-cluster/intro.adoc[Introduction]
*** xref:getting-started/create-first-cluster/using_fleet.adoc[Create & import your first cluster using Fleet]
*** xref:getting-started/create-first-cluster/using_kubectl.adoc[Create & Import Your First Cluster Using kubectl]
** Using ClusterClass
*** xref:getting-started/cluster-class/intro.adoc[Introduction]
*** xref:getting-started/cluster-class/create_cluster.adoc[Create a cluster using Fleet]
** xref:getting-started/air-gapped-environment.adoc[Air-gapped environment]
** xref:getting-started/uninstall_turtles.adoc[Uninstall {product_name}]
* Reference Guides
** Architecture
*** xref:reference-guides/architecture/intro.adoc[Introduction]
*** xref:reference-guides/architecture/components.adoc[Components]
*** xref:reference-guides/architecture/deployment.adoc[Deployment Scenarios]
** xref:reference-guides/rancher-turtles-chart/values.adoc[Chart configuration]
** CAPI Providers
*** xref:reference-guides/providers/certified.adoc[Certified CAPI Providers]
*** xref:reference-guides/providers/howto.adoc[Create & import a cluster using CAPI providers]
*** xref:reference-guides/providers/addon-provider-fleet.adoc[Cluster API Addon Provider Fleet]
** Test suite
*** xref:reference-guides/test-suite/intro.adoc[Introduction]
*** xref:reference-guides/test-suite/usage.adoc[Test suite guide]
* Tasks
** xref:tasks/intro.adoc[Introduction]
** Cluster API Operator
*** xref:tasks/capi-operator/basic_cluster_api_provider_installation.adoc[Basic Cluster API Provider Installation]
*** xref:tasks/capi-operator/installing_core_provider.adoc[Installing the CoreProvider using CAPIProvider resource]
*** xref:tasks/capi-operator/capiprovider_resource.adoc[CAPIProvider Resource]
*** xref:tasks/capi-operator/clusterctlconfig_resource.adoc[ClusterctlConfig Resource]
*** xref:tasks/capi-operator/add_infrastructure_provider.adoc[Installing AWS Infrastructure Provider using CAPIProvider resource]
** Maintenance
*** xref:tasks/maintenance/early_adopter_upgrade.adoc[Upgrade Instructions for Early Adopters]
*** xref:tasks/maintenance/import_controller_upgrade.adoc[Upgrade Turtles import controller]
*** xref:tasks/maintenance/automigrate_to_v3_import.adoc[Auto-migration to v3 cluster import]
** Provider Certification
*** xref:tasks/provider-certification/intro.adoc[What is a Certified Provider?]
*** xref:tasks/provider-certification/process.adoc[Provider Certification Guide]
* Developer Guide
** xref:developer-guide/intro.adoc[Introduction]
** xref:developer-guide/install_capi_operator.adoc[Installing Cluster API Operator]
** xref:developer-guide/development.adoc[Development setup]
* Reference
** xref:reference/intro.adoc[Introduction]
** xref:reference/contributing_guidelines.adoc[Guidelines]
** xref:reference/glossary.adoc[Glossary]
* Security
** xref:security/slsa.adoc[SLSA]
57 changes: 57 additions & 0 deletions docs/next/modules/en/pages/developer-guide/development.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
= Development setup
:sidebar_position: 3

== Prerequisites:

* https://kind.sigs.k8s.io/[kind]
* https://helm.sh/[helm]
* https://tilt.dev/[tilt]

== Create a local development environment

. Clone the https://github.com/rancher/turtles[{product_name}] repository locally
. Create *tilt-settings.yaml*:
+
[source,yaml]
----
{
"k8s_context": "k3d-rancher-test",
"default_registry": "ghcr.io/turtles-dev",
"debug": {
"turtles": {
"continue": true,
"port": 40000
}
}
}
----
+
. Open a terminal in the root of the {product_name} repository
. Run the following:
+
[source,bash]
----
make dev-env
# Or if you want to use a custom hostname for Rancher
RANCHER_HOSTNAME=my.customhost.dev make dev-env
----
+
. When tilt has started, open a new terminal and start ngrok or inlets
+
[source,bash]
----
kubectl port-forward --namespace cattle-system svc/rancher 10000:443
ngrok http https://localhost:10000
----

== What happens when you run `make dev-env`?

. A https://kind.sigs.k8s.io/[kind] cluster is created with the following https://github.com/rancher/turtles/blob/main/scripts/kind-cluster-with-extramounts.yaml[configuration].
. xref:../developer-guide/install_capi_operator.adoc[Cluster API Operator] is installed using helm, which includes:
** Core Cluster API controller
** Kubeadm Bootstrap and Control Plane Providers
** Docker Infrastructure Provider
** Cert manager
. `Rancher manager` is installed using helm.
. `tilt up` is run to start the development environment.
Loading

0 comments on commit 5f15dc8

Please sign in to comment.