-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b31aa88
commit 6aa4f43
Showing
17 changed files
with
339 additions
and
30 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
File renamed without changes.
File renamed without changes.
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,3 @@ | ||
rke2_install_version: v1.29.12+rke2r1 | ||
Check warning on line 1 in docs/advanced_sample_inventory/group_vars/all.yaml GitHub Actions / Lint for push
|
||
cluster_rke2_config: | ||
selinux: true | ||
17 changes: 17 additions & 0 deletions
17
docs/advanced_sample_inventory/group_vars/rke2_servers.yaml
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,17 @@ | ||
rke2_pod_security_admission_config_file_path: "{{ playbook_dir }}/docs/advanced_sample_inventory/files/pod-security-admission-config.yaml" | ||
Check warning on line 1 in docs/advanced_sample_inventory/group_vars/rke2_servers.yaml GitHub Actions / Lint for push
|
||
rke2_audit_policy_config_file_path: "{{ playbook_dir }}/docs/advanced_sample_inventory/files/audit-policy.yaml" | ||
rke2_manifest_config_directory: "{{ playbook_dir }}/docs/advanced_sample_inventory/pre-deploy-manifests/" | ||
rke2_manifest_config_post_run_directory: "{{ playbook_dir }}/docs/advanced_sample_inventory/post-deploy-manifests/" | ||
|
||
group_rke2_config: | ||
# Use Cilium as the CNI | ||
cni: | ||
- cilium | ||
# Cilium will replace this | ||
disable-kube-proxy: true | ||
profile: cis | ||
pod-security-admission-config-file: /etc/rancher/rke2/pod-security-admission-config.yaml | ||
audit-policy-file: /etc/rancher/rke2/audit-policy.yaml | ||
kube-apiserver-arg: | ||
- audit-policy-file=/etc/rancher/rke2/audit-policy.yaml | ||
- audit-log-path=/var/lib/rancher/rke2/server/logs/audit.log | ||
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,9 @@ | ||
--- | ||
rke2_cluster: | ||
children: | ||
rke2_servers: | ||
hosts: | ||
server0.example.com: | ||
rke2_agents: | ||
hosts: | ||
agent0.example.com: |
14 changes: 14 additions & 0 deletions
14
docs/advanced_sample_inventory/post-deploy-manifests/cert-manager.yaml
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,14 @@ | ||
apiVersion: helm.cattle.io/v1 | ||
kind: HelmChart | ||
metadata: | ||
name: jetstack | ||
namespace: kube-system | ||
spec: | ||
repo: https://charts.jetstack.io | ||
chart: cert-manager | ||
version: v1.16.2 | ||
targetNamespace: cert-manager | ||
createNamespace: true | ||
valuesContent: |- | ||
crds: | ||
enabled: true |
17 changes: 17 additions & 0 deletions
17
docs/advanced_sample_inventory/pre-deploy-manifests/cilium.yaml
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,17 @@ | ||
--- | ||
apiVersion: helm.cattle.io/v1 | ||
kind: HelmChartConfig | ||
metadata: | ||
name: rke2-cilium | ||
namespace: kube-system | ||
spec: | ||
valuesContent: |- | ||
kubeProxyReplacement: true | ||
k8sServiceHost: 127.0.0.1 | ||
k8sServicePort: 6443 | ||
bpf: | ||
masquerade: true | ||
preallocateMaps: true | ||
tproxy: true | ||
bpfClockProbe: true | ||
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,9 @@ | ||
--- | ||
rke2_cluster: | ||
children: | ||
rke2_servers: | ||
hosts: | ||
server0.example.com: | ||
rke2_agents: | ||
hosts: | ||
agent0.example.com: |
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,5 @@ | ||
This playbook requires ansible.utils to run properly. Please see https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-a-collection-from-galaxy for more information about how to install this. | ||
|
||
``` | ||
ansible-galaxy collection install -r requirements.yml | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Oops, something went wrong.