Skip to content

Instantly share code, notes, and snippets.

@kenych
Created March 18, 2018 16:39
Show Gist options
  • Save kenych/328c16cac7e3c89ea37bae11d14d8cd7 to your computer and use it in GitHub Desktop.
Save kenych/328c16cac7e3c89ea37bae11d14d8cd7 to your computer and use it in GitHub Desktop.
Jenkins consul-temlate config
max_stale = "10m"
retry = "5s"
log_level = "warn"
vault {
renew_token = true
ssl {
enabled = true
verify = false
}
retry {
enabled = true
attempts = 0
}
}
template {
source = "/var/jenkins_home/jenkins_config/credentials.ctmpl"
destination = "/var/jenkins_home/jenkins_config/credentials.txt"
perms = 0600
backup = true
}
template {
source = "/var/jenkins_home/jenkins_config/kubernetes.ctmpl"
destination = "/var/jenkins_home/jenkins_config/kubernetes.txt"
perms = 0600
backup = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment