Commit c799d503 authored by FabiusE's avatar FabiusE

init commit for jenkins module

parents
############################################################################
# Created Date: 14.01.2020 #
# Author: Fabius Engel (fabius.engel@msg.group) #
# ----- #
# Last Modified: 15.01.2020 10:55:28 #
# Modified By: Fabius Engel (fabius.engel@msg.group) #
# ----- #
# Copyright (c) 2020 msg nexinsure ag #
############################################################################
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
# Crash log files
crash.log
# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
# .tfvars files are managed as part of configuration and so should be included in
# version control.
#
# example.tfvars
creds.tfvars
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json
# Include override files you do wish to add to version control using negated pattern
#
# !example_override.tf
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
\ No newline at end of file
# terraform-azurerm-azurekubernetes
A module for a managed kubernetes in microsoft azure
Use the Example in the examples folder for a first try
\ No newline at end of file
/*
* Created Date: 15.01.2020
* Author: Fabius Engel (fabius.engel@msg.group)
* -----
* Last Modified: 15.01.2020 12:11:57
* Modified By: Fabius Engel (fabius.engel@msg.group)
* -----
* Copyright (c) 2020 msg nexinsure ag
*/
provider "helm" {
version = "~> 0.9"
install_tiller = true
kubernetes {
host = module.k8s.host
client_certificate = base64decode(module.k8s.client_certificate)
client_key = base64decode(module.k8s.client_key)
cluster_ca_certificate = base64decode(module.k8s.cluster_ca_certificate)
}
}
module "aks" {
source = "../../jenkins_terraform_module"
}
\ No newline at end of file
/*
* Created Date: 15.01.2020
* Author: Fabius Engel (fabius.engel@msg.group)
* -----
* Last Modified: 15.01.2020 10:23:12
* Modified By: Fabius Engel (fabius.engel@msg.group)
* -----
* Copyright (c) 2020 msg nexinsure ag
*/
variable "subscription_id" {
description = "The unique identifier of your abonnement"
}
variable "client_id" {
description = "The unique client id"
}
variable "client_secret" {
description = "The client secret"
}
variable "tenant_id" {
description = "The unique identifier of your organization"
}
\ No newline at end of file
resource "helm_release" "jenkins"{
name = "jenkins"
namespace = "jenkins"
chart = "stable/jenkins"
version = "1.7.1."
timeout = 600
}
\ No newline at end of file
/*
* Created Date: 14.01.2020
* Author: Fabius Engel (fabius.engel@msg.group)
* -----
* Last Modified: 14.01.2020 15:41:46
* Modified By: Fabius Engel (fabius.engel@msg.group)
* -----
* Copyright (c) 2020 msg nexinsure ag
*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment