Helm/Jenkins: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 5: Line 5:
==Install==
==Install==
<syntaxhighlight lang="properties">
<syntaxhighlight lang="properties">
kubectl create namespace jenkins
cat <<EOF | helm upgrade --install -n jenkins jenkins jenkins/jenkins -f -
cat <<EOF | helm upgrade --install -n jenkins jenkins jenkins/jenkins -f -
controller:
controller:
   jenkinsUrl: jenkins.k8s.local
   jenkinsUrl: jenkins.k8s.local
  additionalPlugins:
  - octopusdeploy:3.1.6
EOF
EOF
</syntaxhighlight>
</syntaxhighlight>

Revision as of 22:39, 3 June 2024

helm repo add jenkins https://charts.jenkins.io
helm repo update
helm repo list

Install

kubectl create namespace jenkins
cat <<EOF | helm upgrade --install -n jenkins jenkins jenkins/jenkins -f -
controller:
  jenkinsUrl: jenkins.k8s.local
  additionalPlugins:
  - octopusdeploy:3.1.6
EOF

Uninstall

helm uninstall jenkins

Playground

helm upgrade --install -f values.yaml myjenkins jenkins/jenkins
helm upgrade --install myjenkins jenkins/jenkins
helm show values jenkins/jenkins

References