diff --git a/.cz.yaml b/.cz.yaml new file mode 100644 index 0000000..62b2ada --- /dev/null +++ b/.cz.yaml @@ -0,0 +1,7 @@ +commitizen: + bump_message: "build(version): bump version $current_version \u2192 $new_version" + changelog_incremental: false + name: cz_conventional_commits + tag_format: $major.$minor.$patch$prerelease + update_changelog_on_bump: true + version: 0.0.1 diff --git a/.gitmodules b/.gitmodules index cc4d8a5..de6bfdd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,7 @@ path = gitlab-ci url = https://gitlab.com/nofusscomputing/projects/gitlab-ci.git branch = development +[submodule "website-template"] + path = website-template + url = https://gitlab.com/nofusscomputing/infrastructure/website-template.git + branch = development diff --git a/.nfc_automation.yaml b/.nfc_automation.yaml new file mode 100644 index 0000000..e1eb17f --- /dev/null +++ b/.nfc_automation.yaml @@ -0,0 +1,10 @@ +--- + +role_git_conf: + gitlab: + submodule_branch: "development" + default_branch: development + mr_labels: ~"type::automation" ~"impact::0" ~"priority::0" + auto_merge: true + merge_request: + patch_labels: '~"code review::not started"' diff --git a/docs/articles/index.md b/docs/articles/index.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/contact.md b/docs/contact.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/index.md b/docs/index.md index f9367ed..e69de29 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,19 +0,0 @@ ---- -title: Kubernetes Ansible Role -description: No Fuss Computings Ansible role nfc_kubernetes -date: 2023-10-24 -template: project.html -about: https://gitlab.com/nofusscomputing/projects/ansible/roles/kubernetes ---- - - - -Expected inventory setup: - -- each host has a host_vars file with `ansible_host` defined. _can be either DNS name, IPv4/IPv6 Address_ -- `k3s` host group with all hosts part of this group -- `kubernetes_master` host group with all master nodes part of - -- variable `Kubernetes_Master` _boolean_ set for all host that are master nodes. - -- hosts that require Kubernetes API access added to variable `kubernetes_config.cluster.access` diff --git a/docs/operations/index.md b/docs/operations/index.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/firewall.md b/docs/projects/ansible/roles/kubernetes/firewall.md similarity index 100% rename from docs/firewall.md rename to docs/projects/ansible/roles/kubernetes/firewall.md diff --git a/docs/projects/ansible/roles/kubernetes/index.md b/docs/projects/ansible/roles/kubernetes/index.md new file mode 100644 index 0000000..f9367ed --- /dev/null +++ b/docs/projects/ansible/roles/kubernetes/index.md @@ -0,0 +1,19 @@ +--- +title: Kubernetes Ansible Role +description: No Fuss Computings Ansible role nfc_kubernetes +date: 2023-10-24 +template: project.html +about: https://gitlab.com/nofusscomputing/projects/ansible/roles/kubernetes +--- + + + +Expected inventory setup: + +- each host has a host_vars file with `ansible_host` defined. _can be either DNS name, IPv4/IPv6 Address_ +- `k3s` host group with all hosts part of this group +- `kubernetes_master` host group with all master nodes part of + +- variable `Kubernetes_Master` _boolean_ set for all host that are master nodes. + +- hosts that require Kubernetes API access added to variable `kubernetes_config.cluster.access` diff --git a/docs/projects/index.md b/docs/projects/index.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/tags.md b/docs/tags.md new file mode 100644 index 0000000..e69de29 diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..602da14 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,36 @@ +INHERIT: website-template/mkdocs.yml + +docs_dir: 'docs' + +repo_name: Kubernetes Ansible Role +repo_url: https://gitlab.com/nofusscomputing/projects/ansible/kubernetes +edit_uri: '/-/ide/project/nofusscomputing/projects/ansible/kubernetes/edit/development/-/docs/' + +nav: +- Home: index.md + +- Articles: + + - articles/index.md + +- Projects: + + - projects/index.md + + - Ansible: + + - Roles: + + - Kubernetes: + + - projects/ansible/roles/kubernetes/index.md + + - projects/ansible/roles/kubernetes/firewall.md + + +- Operations: + + - operations/index.md + +- Contact Us: contact.md + diff --git a/website-template b/website-template new file mode 160000 index 0000000..992b548 --- /dev/null +++ b/website-template @@ -0,0 +1 @@ +Subproject commit 992b54805b8b6c78a3d2a5ea7de71c7be2b070c8