This commit is contained in:
2023-12-19 07:53:05 -06:00
parent 9afa2489e1
commit d136a500fd
3 changed files with 33 additions and 0 deletions

6
.gitlab/.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,6 @@
include:
- project: 'developerdurp/yml'
ref: 'main'
file:
- 'pipeline.yml'
- local: .variables.yml

4
.variables.yml Normal file
View File

@@ -0,0 +1,4 @@
variables:
PIPELINE: 'gitlab'
PROJECT_NAME: "TERRAFORM.GITLAB.RKE"
OCTO_PROJECT_NAME: "RKE Clusters"

View File

@@ -0,0 +1,23 @@
module "RKE" {
source = "git::https://gitlab.com/developerdurp/tf-modules.git//TERRAFORM.PROXMOX.RKE"
dnsserver = "#{dnsserver}"
sshkeys = "#{sshkeys}"
vlan = #{vlan}
bridge = "#{bridge}"
appname = "#{appname}"
searchdomain = "#{searchdomain}"
master = {
count = #{mastercount}
template = "#{master-template}"
cores = #{mastercores}
memory = "#{mastermemory}"
node = #{masternode}
ip = #{masterip}
}
pm_api_url = "#{pm_api_url}"
pm_api_token_id = "#{pm_api_token_id}"
pm_api_token_secret = "#{pm_api_token_secret}"
}