206 lines
4.8 KiB
YAML
206 lines
4.8 KiB
YAML
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: helmcharts.helm.cattle.io
|
|
spec:
|
|
group: helm.cattle.io
|
|
names:
|
|
kind: HelmChart
|
|
plural: helmcharts
|
|
singular: helmchart
|
|
preserveUnknownFields: false
|
|
scope: Namespaced
|
|
versions:
|
|
- additionalPrinterColumns:
|
|
- jsonPath: .status.jobName
|
|
name: Job
|
|
type: string
|
|
- jsonPath: .spec.chart
|
|
name: Chart
|
|
type: string
|
|
- jsonPath: .spec.targetNamespace
|
|
name: TargetNamespace
|
|
type: string
|
|
- jsonPath: .spec.version
|
|
name: Version
|
|
type: string
|
|
- jsonPath: .spec.repo
|
|
name: Repo
|
|
type: string
|
|
- jsonPath: .spec.helmVersion
|
|
name: HelmVersion
|
|
type: string
|
|
- jsonPath: .spec.bootstrap
|
|
name: Bootstrap
|
|
type: string
|
|
name: v1
|
|
schema:
|
|
openAPIV3Schema:
|
|
properties:
|
|
spec:
|
|
properties:
|
|
authPassCredentials:
|
|
type: boolean
|
|
authSecret:
|
|
nullable: true
|
|
properties:
|
|
name:
|
|
nullable: true
|
|
type: string
|
|
type: object
|
|
backOffLimit:
|
|
nullable: true
|
|
type: integer
|
|
bootstrap:
|
|
type: boolean
|
|
chart:
|
|
nullable: true
|
|
type: string
|
|
chartContent:
|
|
nullable: true
|
|
type: string
|
|
createNamespace:
|
|
type: boolean
|
|
dockerRegistrySecret:
|
|
nullable: true
|
|
properties:
|
|
name:
|
|
nullable: true
|
|
type: string
|
|
type: object
|
|
failurePolicy:
|
|
nullable: true
|
|
type: string
|
|
helmVersion:
|
|
nullable: true
|
|
type: string
|
|
jobImage:
|
|
nullable: true
|
|
type: string
|
|
repo:
|
|
nullable: true
|
|
type: string
|
|
repoCA:
|
|
nullable: true
|
|
type: string
|
|
repoCAConfigMap:
|
|
nullable: true
|
|
properties:
|
|
name:
|
|
nullable: true
|
|
type: string
|
|
type: object
|
|
set:
|
|
additionalProperties:
|
|
x-kubernetes-int-or-string: true
|
|
nullable: true
|
|
type: object
|
|
targetNamespace:
|
|
nullable: true
|
|
type: string
|
|
timeout:
|
|
nullable: true
|
|
type: string
|
|
valuesContent:
|
|
nullable: true
|
|
type: string
|
|
version:
|
|
nullable: true
|
|
type: string
|
|
type: object
|
|
status:
|
|
properties:
|
|
jobName:
|
|
nullable: true
|
|
type: string
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: helmchartconfigs.helm.cattle.io
|
|
spec:
|
|
group: helm.cattle.io
|
|
names:
|
|
kind: HelmChartConfig
|
|
plural: helmchartconfigs
|
|
singular: helmchartconfig
|
|
preserveUnknownFields: false
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1
|
|
schema:
|
|
openAPIV3Schema:
|
|
properties:
|
|
spec:
|
|
properties:
|
|
failurePolicy:
|
|
nullable: true
|
|
type: string
|
|
valuesContent:
|
|
nullable: true
|
|
type: string
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: helm-controller
|
|
namespace: kube-system
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: helm-controller
|
|
rules:
|
|
- apiGroups: ["*"]
|
|
resources: ["*"]
|
|
verbs: ["*"]
|
|
- nonResourceURLs: ["*"]
|
|
verbs: ["*"]
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: helm-controller
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: helm-controller
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: helm-controller
|
|
namespace: kube-system
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: helm-controller
|
|
name: helm-controller
|
|
namespace: kube-system
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: helm-controller
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: helm-controller
|
|
spec:
|
|
serviceAccountName: helm-controller
|
|
containers:
|
|
- command:
|
|
- helm-controller
|
|
image: rancher/helm-controller:v0.15.8-amd64
|
|
name: helm-controller
|
|
---
|