parent
4410ad6b88
commit
5f1b28f539
|
|
@ -0,0 +1,19 @@
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: jenkinsimages.jenkins.io
|
||||||
|
spec:
|
||||||
|
group: jenkins.io
|
||||||
|
names:
|
||||||
|
kind: JenkinsImage
|
||||||
|
listKind: JenkinsImageList
|
||||||
|
plural: jenkinsimages
|
||||||
|
singular: jenkinsimage
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- name : v1alpha2
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
- name : v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: false
|
||||||
|
|
@ -65,6 +65,12 @@ $ helm repo add jenkins https://raw.githubusercontent.com/jenkinsci/kubernetes-o
|
||||||
$ helm install <name> jenkins/jenkins-operator -n <your-namespace>
|
$ helm install <name> jenkins/jenkins-operator -n <your-namespace>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In case you want to use released Chart **v0.4.1**, before installing/upgrading please install additional CRD into the cluster:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/crds/jenkinsimage-crd.yaml
|
||||||
|
```
|
||||||
|
|
||||||
To add custom labels and annotations, you can use `values.yaml` file or pass them into `helm install` command, e.g.:
|
To add custom labels and annotations, you can use `values.yaml` file or pass them into `helm install` command, e.g.:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue