Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/tutorials/jenkins/opentofu-kubernetes/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pipeline {
agent any
environment {
KUBE_CONFIG_PATH = credentials('kubeconfig')
TF_VAR_namespace = "terraform-example"
}
stages {
stage('Checkout') {
Expand Down
4 changes: 4 additions & 0 deletions docs/tutorials/jenkins/opentofu-kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ description: Tutorial on how to configure a Jenkins pipeline that deploys an fee

This tutorial contains a pipeline that deploys an feedback application to a Kubernetes cluster.

!!! warning "This example uses local state"

This example does not configure state backend and thus stores the state locally. When managing real infrastructure, configure a persistent state storage, for example, with S3 bucket or Postgres database as the backend.

## Prerequisites and preparing the Jenkins instance

See [Deploy application to Kubernetes with Ansible](../ansible-kubernetes/) tutorial for prerequisites and instruction for configuring access from the Jenkins instance to the Kubernetes cluster.
Expand Down