-
Notifications
You must be signed in to change notification settings - Fork 1
/
vars.yaml.sample
136 lines (109 loc) · 3.88 KB
/
vars.yaml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
####################################
# Create hosts
####################################
# The access secret of cloud service provider.
access_key:
secret_key:
# You can customize the cloud server instance type through the following configuration.
# The cloud server instance type for GitLab
# gitlab_instance_type: ecs.g5.large
# The cloud server instance type for Kubernetes
# kubernetes_instance_type: ecs.c6.large
# The cloud server instance type for Vault
# vault_instance_type: ecs.c6.large
# Region ID of the cloud server.
# region_id: cn-hongkong
# Zone ID of the cloud server.
# zone_id: "cn-hongkong-b"
# Create cloud server instances using 'Preemptible Instance' by default.
# alicloud_save_money: true
# If you want to use an existing machine, please provide the following variables
# ansible_inventory_file: |
# [gitlab]
# gitlab-0 ansible_host=
#
# [kube_control_plane]
# k8s-0 ansible_host=
#
# [kube_node]
# k8s-0
#
# [etcd]
# k8s-0
#
# [k8s_cluster:children]
# kube_control_plane
# kube_node
#
# [vault]
# vault-0 ansible_host=
#
# [all:vars]
# no_log=true
# local_path_provisioner_enabled=true
# Keypair used to connect to the server
# ansible_ssh_keypair:
# private:
# public:
####################################
# Kubernetes
####################################
# Specify which Kubernetes implementation to use, with options of K3s and K8s.
# kubernetes_type: k3s
# Specify the number of nodes for Kubernetes. When using K3s, only one node will be used.
# kubernetes_node_num: 1
# If this variable is defined, k3s installation will use chinese mirror.
# use_chinese_mirror: ""
# A kubeconfig file with administrator privileges
# If you need to skip the step of installing k8s, you need to provide this variable
# kube_apiserver_kubeconfig: |
# apiVersion: v1
# clusters:
# ,,,
####################################
# Code repository
####################################
# If user need to use an existing git repository, fill in the following variables.
# git_external_url: ""
# git_ssh_addr: ""
# git_init_token: "" # init token need scopes [api, sudo]
# git_ca: ""
####################################
# Nautes
####################################
# Can be set to your company name, department name, or team name, etc.
# It will be the group name in git registry.
# tenant_name: "nautes"
# Root certificate used to create business certificate
# nautes_ca_keypair:
# key:
# cert:
# The repo name of tenant repo.
# tenant_project_name: "management"
# Oauth app name in git regitsry.
# oauth_app_name: "nautes"
# Token name witch used to get products from gitlab.
# base_opeartor_access_token_name: "base-operator"
# Customized configuration for nautes.
# nautes_namespace: nautes
# Default image repository address.
# docker_repository: ghcr.io/nautes-labs/
# Default image tag.
# image_version: latest
# You can customize the image address through the following configuration.
# nautes_image_name: ghcr.io/nautes-labs/nautes
# vault_proxy_image: ghcr.io/nautes-labs/vault-proxy:latest
# The NodePort of tenant management cluster.
# vcluster_api_port: 32000
# Repository address and branch of tenant configuration repository template.
# repos_tenant_template_url: https://github.com/nautes-labs/tenant-repo-template.git
# repos_tenant_template_version: main
# Repository address of cluster template.
# repos_cluster_template_url: https://github.com/nautes-labs/cluster-templates.git
# Repository address and branch for ansible role used to install Vault.
# repos_role_vault_url: https://github.com/ansible-community/ansible-vault.git
# repos_role_vault_version: master
# Repository address and branch for ansible role used to install Gitlab.
# For optional gitLab installation configuration items, please refer to the project https://github.com/geerlingguy/ansible-role-gitlab.
# repos_role_gitlab_url: https://github.com/geerlingguy/ansible-role-gitlab.git
# repos_role_gitlab_version: master