Beginning of my-wild-cloud init files.
This commit is contained in:
1
my-templates/.wildcloud/.gitignore
vendored
Normal file
1
my-templates/.wildcloud/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
secrets.yaml
|
34
my-templates/.wildcloud/config.yaml
Normal file
34
my-templates/.wildcloud/config.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
wildcloud:
|
||||
# You can also use a local path for the repository such as /home/adam/repos/wild-cloud
|
||||
repository: https://github.com/payneio/wild-cloud
|
||||
operator:
|
||||
email: adam@adam.tld
|
||||
cloud:
|
||||
domain: cloud.adam.tld
|
||||
internalDomain: internal.cloud.adam.tld
|
||||
dockerRegistryHost: docker-registry.internal.cloud.adam.tld
|
||||
tz: America/Los_Angeles
|
||||
router:
|
||||
dynamicDns: <dynamic dns addresses> # Some routers provide this.
|
||||
ip: 192.168.8.1
|
||||
nfs:
|
||||
host: box-01
|
||||
mediaPath: /data/media
|
||||
storageCapacity: 250Gi
|
||||
dns:
|
||||
ip: 192.168.8.218
|
||||
dhcpRange: 192.168.8.100,192.168.8.239
|
||||
dnsmasqInterface: enp5s0
|
||||
cluster:
|
||||
endpoint: computer-01
|
||||
endpointIp: 192.168.8.241
|
||||
kubeConfig: /home/adam/.kube/config
|
||||
loadBalancerRange: 192.168.8.240-192.168.8.250
|
||||
dashboard:
|
||||
adminUsername: admin
|
||||
certManager:
|
||||
namespace: cert-manager
|
||||
cloudflare:
|
||||
apiToken: <cloudflare api token>
|
||||
domain: adam.tld
|
||||
ownerId: cloud-adam-cluster
|
1
my-templates/.wildcloud/secrets.example.yaml
Normal file
1
my-templates/.wildcloud/secrets.example.yaml
Normal file
@@ -0,0 +1 @@
|
||||
cloudflareApiToken: <your-cloudflare-api-token>
|
37
my-templates/README.md
Normal file
37
my-templates/README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Your Wild-Cloud
|
||||
|
||||
## Getting started
|
||||
|
||||
### Install wild-cloud tools
|
||||
|
||||
```
|
||||
# TBD
|
||||
```
|
||||
|
||||
### Set up wild-cloud hardware
|
||||
|
||||
TBD
|
||||
|
||||
### Create your wild-cloud
|
||||
|
||||
```bash
|
||||
wild init # Creates a .wildcloud dir and copies templates.
|
||||
wild update # Updates templates
|
||||
wild cluster init # Copies cluster templates
|
||||
|
||||
# Make your config and secrets changes.
|
||||
|
||||
wild cluster build
|
||||
wild cluster apply
|
||||
# Optional: Check in cluster files.
|
||||
```
|
||||
|
||||
### Install Wild-Cloud apps
|
||||
|
||||
```bash
|
||||
wild apps list
|
||||
wild apps get <app>
|
||||
wild apps build <app>
|
||||
wild apps apply <app>
|
||||
# Optional: Check in app templates.
|
||||
```
|
29
my-templates/apps/README.md
Normal file
29
my-templates/apps/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# My Wild-cloud Apps
|
||||
|
||||
This directory contains the definitions for _your_ wild-cloud apps. You can change them however you like. You should keep them all in git and make commits anytime you change something. Some `wild` commands will overwrite files in your app directory (like when you are updating apps, or updating your configuration) so you'll want to review any changes made to your files after using them using `git`.
|
||||
|
||||
## Usage
|
||||
|
||||
To list all available apps:
|
||||
|
||||
```bash
|
||||
wild-cloud-app-list
|
||||
```
|
||||
|
||||
To add a new app:
|
||||
|
||||
```bash
|
||||
wild-cloud-add <app>
|
||||
```
|
||||
|
||||
To install the app:
|
||||
|
||||
```bash
|
||||
wild-cloud-install <app>
|
||||
```
|
||||
|
||||
To update the app:
|
||||
|
||||
```bash
|
||||
TBD
|
||||
```
|
Reference in New Issue
Block a user