40 lines
2.0 KiB
YAML
40 lines
2.0 KiB
YAML
k3s_platform_k3s_version: "v1.30.6+k3s1"
|
|
k3s_platform_cluster_name: "svc-plus"
|
|
k3s_platform_cluster_cidr: "10.42.0.0/16"
|
|
k3s_platform_service_cidr: "10.43.0.0/16"
|
|
k3s_platform_disable_components:
|
|
- traefik
|
|
- servicelb
|
|
k3s_platform_write_kubeconfig_mode: "0644"
|
|
k3s_platform_tls_sans: []
|
|
k3s_platform_kube_apiserver_args:
|
|
- service-node-port-range=0-50000
|
|
k3s_platform_kubeconfig_path: /etc/rancher/k3s/k3s.yaml
|
|
k3s_platform_k3s_config_path: /etc/rancher/k3s/config.yaml
|
|
k3s_platform_install_dir: /opt/rancher/k3s
|
|
k3s_platform_k3s_install_script_url: https://get.k3s.io
|
|
k3s_platform_k3s_install_script_path: /tmp/k3s-install.sh
|
|
k3s_platform_k3s_install_log_path: /var/log/k3s-install.log
|
|
k3s_platform_k3s_install_timeout_seconds: 1800
|
|
k3s_platform_deployment_mode: k3s_platform
|
|
|
|
k3s_platform_flux_namespace: "flux-system"
|
|
k3s_platform_flux_source_name: "platform-config"
|
|
k3s_platform_flux_root_path: "{{ lookup('env', 'K3S_PLATFORM_FLUX_ROOT_PATH') | default('./environments/clusters/prod', true) }}"
|
|
k3s_platform_git_url: "{{ lookup('env', 'GITOPS_REPO') | default('https://github.com/x-evor/gitops.git', true) }}"
|
|
k3s_platform_git_branch: "main"
|
|
k3s_platform_git_auth_mode: "{{ lookup('env', 'GITOPS_AUTH_MODE') | default('public', true) }}"
|
|
k3s_platform_git_private_key: "{{ lookup('env', 'GITOPS_FLUX_DEPLOY_KEY') }}"
|
|
k3s_platform_git_public_key: "{{ lookup('env', 'GITOPS_FLUX_DEPLOY_KEY_PUB') }}"
|
|
k3s_platform_git_private_key_path: "{{ lookup('env', 'HOME') }}/.ssh/id_rsa"
|
|
k3s_platform_git_http_username: "{{ lookup('env', 'GITOPS_FLUX_HTTP_USERNAME') | default('x-access-token', true) }}"
|
|
k3s_platform_git_http_password: "{{ lookup('env', 'GITOPS_FLUX_HTTP_PASSWORD') | default(lookup('env', 'GITOPS_FLUX_TOKEN'), true) }}"
|
|
k3s_platform_git_bearer_token: "{{ lookup('env', 'GITOPS_FLUX_BEARER_TOKEN') }}"
|
|
|
|
k3s_platform_flux_env:
|
|
GIT_URL: "{{ k3s_platform_git_url }}"
|
|
GIT_BRANCH: "{{ k3s_platform_git_branch }}"
|
|
GIT_SOURCE_NAME: "{{ k3s_platform_flux_source_name }}"
|
|
FLUX_NAMESPACE: "{{ k3s_platform_flux_namespace }}"
|
|
FLUX_ROOT_PATH: "{{ k3s_platform_flux_root_path }}"
|