mirror of https://git.rancher.io/charts
make remove
parent
e42a3e901c
commit
d5d6d03f14
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,12 +0,0 @@
|
||||||
annotations:
|
|
||||||
catalog.cattle.io/certified: rancher
|
|
||||||
catalog.cattle.io/hidden: "true"
|
|
||||||
catalog.cattle.io/namespace: cattle-fleet-system
|
|
||||||
catalog.cattle.io/os: linux
|
|
||||||
catalog.cattle.io/release-name: fleet-agent
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: 0.3.9-rc3
|
|
||||||
description: Fleet Manager Agent - GitOps at Scale
|
|
||||||
icon: https://charts.rancher.io/assets/logos/fleet.svg
|
|
||||||
name: fleet-agent
|
|
||||||
version: 100.0.3+up0.3.9-rc3
|
|
|
@ -1,7 +0,0 @@
|
||||||
{{- define "system_default_registry" -}}
|
|
||||||
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
|
||||||
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- "" -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
|
@ -1,12 +0,0 @@
|
||||||
kind: ConfigMap
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: fleet-agent
|
|
||||||
data:
|
|
||||||
config: |-
|
|
||||||
{
|
|
||||||
{{ if .Values.labels }}
|
|
||||||
"labels":{{toJson .Values.labels}},
|
|
||||||
{{ end }}
|
|
||||||
"clientID":"{{.Values.clientID}}"
|
|
||||||
}
|
|
|
@ -1,37 +0,0 @@
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: fleet-agent
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: fleet-agent
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: fleet-agent
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: NAMESPACE
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.namespace
|
|
||||||
image: '{{ template "system_default_registry" . }}{{.Values.image.repository}}:{{.Values.image.tag}}'
|
|
||||||
name: fleet-agent
|
|
||||||
command:
|
|
||||||
- fleetagent
|
|
||||||
{{- if .Values.debug }}
|
|
||||||
- --debug
|
|
||||||
- --debug-level
|
|
||||||
- {{ quote .Values.debugLevel }}
|
|
||||||
{{- end }}
|
|
||||||
serviceAccountName: fleet-agent
|
|
||||||
{{- with .Values.fleetAgent.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.fleetAgent.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
|
@ -1,15 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: NetworkPolicy
|
|
||||||
metadata:
|
|
||||||
name: default-allow-all
|
|
||||||
namespace: {{ .Values.internal.systemNamespace }}
|
|
||||||
spec:
|
|
||||||
podSelector: {}
|
|
||||||
ingress:
|
|
||||||
- {}
|
|
||||||
egress:
|
|
||||||
- {}
|
|
||||||
policyTypes:
|
|
||||||
- Ingress
|
|
||||||
- Egress
|
|
|
@ -1,28 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: batch/v1
|
|
||||||
kind: Job
|
|
||||||
metadata:
|
|
||||||
name: patch-fleet-sa
|
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": post-install, post-upgrade
|
|
||||||
"helm.sh/hook-delete-policy": hook-succeeded, before-hook-creation
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
serviceAccountName: fleet-agent
|
|
||||||
restartPolicy: Never
|
|
||||||
containers:
|
|
||||||
- name: sa
|
|
||||||
image: "{{ template "system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
|
|
||||||
imagePullPolicy: {{ .Values.global.imagePullPolicy }}
|
|
||||||
command: ["kubectl", "patch", "serviceaccount", "default", "-p", "{\"automountServiceAccountToken\": false}"]
|
|
||||||
args: ["-n", {{ .Values.internal.systemNamespace }}]
|
|
||||||
{{- with .Values.kubectl.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.kubectl.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
backoffLimit: 1
|
|
|
@ -1,25 +0,0 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: fleet-agent-system-fleet-agent-role
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- '*'
|
|
||||||
resources:
|
|
||||||
- '*'
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: fleet-agent-system-fleet-agent-role-binding
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: fleet-agent-system-fleet-agent-role
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: fleet-agent
|
|
||||||
namespace: {{.Release.Namespace}}
|
|
|
@ -1,10 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
data:
|
|
||||||
systemRegistrationNamespace: "{{b64enc .Values.systemRegistrationNamespace}}"
|
|
||||||
clusterNamespace: "{{b64enc .Values.clusterNamespace}}"
|
|
||||||
token: "{{b64enc .Values.token}}"
|
|
||||||
apiServerURL: "{{b64enc .Values.apiServerURL}}"
|
|
||||||
apiServerCA: "{{b64enc .Values.apiServerCA}}"
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: fleet-agent-bootstrap
|
|
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: fleet-agent
|
|
|
@ -1,11 +0,0 @@
|
||||||
{{if ne .Release.Namespace .Values.internal.systemNamespace }}
|
|
||||||
{{ fail (printf "This chart must be installed in the namespace %s as the release name fleet-agent" .Values.internal.systemNamespace) }}
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
{{if ne .Release.Name .Values.internal.managedReleaseName }}
|
|
||||||
{{ fail (printf "This chart must be installed in the namespace %s as the release name fleet-agent" .Values.internal.managedReleaseName) }}
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
{{if not .Values.apiServerURL }}
|
|
||||||
{{ fail "apiServerURL is required to be set, and most likely also apiServerCA" }}
|
|
||||||
{{end}}
|
|
|
@ -1,60 +0,0 @@
|
||||||
image:
|
|
||||||
os: "windows,linux"
|
|
||||||
repository: rancher/fleet-agent
|
|
||||||
tag: v0.3.9-rc3
|
|
||||||
|
|
||||||
# The public URL of the Kubernetes API server running the Fleet Manager must be set here
|
|
||||||
# Example: https://example.com:6443
|
|
||||||
apiServerURL: ""
|
|
||||||
|
|
||||||
# The the pem encoded value of the CA of the Kubernetes API server running the Fleet Manager.
|
|
||||||
# If left empty it is assumed this Kubernetes API TLS is signed by a well known CA.
|
|
||||||
apiServerCA: ""
|
|
||||||
|
|
||||||
# The cluster registration value
|
|
||||||
token: ""
|
|
||||||
|
|
||||||
# Labels to add to the cluster upon registration only. They are not added after the fact.
|
|
||||||
#labels:
|
|
||||||
# foo: bar
|
|
||||||
|
|
||||||
# The client ID of the cluster to associate with
|
|
||||||
clientID: ""
|
|
||||||
|
|
||||||
# The namespace of the cluster we are register with
|
|
||||||
clusterNamespace: ""
|
|
||||||
|
|
||||||
# The namespace containing the clusters registration secrets
|
|
||||||
systemRegistrationNamespace: fleet-clusters-system
|
|
||||||
|
|
||||||
# Please do not change the below setting unless you really know what you are doing
|
|
||||||
internal:
|
|
||||||
systemNamespace: fleet-system
|
|
||||||
managedReleaseName: fleet-agent
|
|
||||||
|
|
||||||
# The nodeSelector and tolerations for the agent deployment
|
|
||||||
fleetAgent:
|
|
||||||
nodeSelector: {}
|
|
||||||
tolerations: []
|
|
||||||
kubectl:
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/os: linux
|
|
||||||
tolerations:
|
|
||||||
- key: cattle.io/os
|
|
||||||
operator: "Equal"
|
|
||||||
value: "linux"
|
|
||||||
effect: NoSchedule
|
|
||||||
- key: node.cloudprovider.kubernetes.io/uninitialized
|
|
||||||
operator: "Equal"
|
|
||||||
value: "true"
|
|
||||||
effect: NoSchedule
|
|
||||||
|
|
||||||
global:
|
|
||||||
cattle:
|
|
||||||
systemDefaultRegistry: ""
|
|
||||||
kubectl:
|
|
||||||
repository: rancher/kubectl
|
|
||||||
tag: v1.21.5
|
|
||||||
|
|
||||||
debug: false
|
|
||||||
debugLevel: 0
|
|
|
@ -1,12 +0,0 @@
|
||||||
annotations:
|
|
||||||
catalog.cattle.io/certified: rancher
|
|
||||||
catalog.cattle.io/hidden: "true"
|
|
||||||
catalog.cattle.io/namespace: cattle-fleet-system
|
|
||||||
catalog.cattle.io/os: linux
|
|
||||||
catalog.cattle.io/release-name: fleet-crd
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: 0.3.9-rc3
|
|
||||||
description: Fleet Manager CustomResourceDefinitions
|
|
||||||
icon: https://charts.rancher.io/assets/logos/fleet.svg
|
|
||||||
name: fleet-crd
|
|
||||||
version: 100.0.3+up0.3.9-rc3
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,19 +0,0 @@
|
||||||
annotations:
|
|
||||||
catalog.cattle.io/auto-install: fleet-crd=match
|
|
||||||
catalog.cattle.io/certified: rancher
|
|
||||||
catalog.cattle.io/experimental: "true"
|
|
||||||
catalog.cattle.io/hidden: "true"
|
|
||||||
catalog.cattle.io/namespace: cattle-fleet-system
|
|
||||||
catalog.cattle.io/os: linux
|
|
||||||
catalog.cattle.io/provides-gvr: clusters.fleet.cattle.io/v1alpha1
|
|
||||||
catalog.cattle.io/release-name: fleet
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: 0.3.9-rc3
|
|
||||||
dependencies:
|
|
||||||
- condition: gitops.enabled
|
|
||||||
name: gitjob
|
|
||||||
repository: file://./charts/gitjob
|
|
||||||
description: Fleet Manager - GitOps at Scale
|
|
||||||
icon: https://charts.rancher.io/assets/logos/fleet.svg
|
|
||||||
name: fleet
|
|
||||||
version: 100.0.3+up0.3.9-rc3
|
|
|
@ -1,23 +0,0 @@
|
||||||
# Patterns to ignore when building packages.
|
|
||||||
# This supports shell glob matching, relative path matching, and
|
|
||||||
# negation (prefixed with !). Only one pattern per line.
|
|
||||||
.DS_Store
|
|
||||||
# Common VCS dirs
|
|
||||||
.git/
|
|
||||||
.gitignore
|
|
||||||
.bzr/
|
|
||||||
.bzrignore
|
|
||||||
.hg/
|
|
||||||
.hgignore
|
|
||||||
.svn/
|
|
||||||
# Common backup files
|
|
||||||
*.swp
|
|
||||||
*.bak
|
|
||||||
*.tmp
|
|
||||||
*.orig
|
|
||||||
*~
|
|
||||||
# Various IDEs
|
|
||||||
.project
|
|
||||||
.idea/
|
|
||||||
*.tmproj
|
|
||||||
.vscode/
|
|
|
@ -1,5 +0,0 @@
|
||||||
apiVersion: v2
|
|
||||||
appVersion: 0.1.25
|
|
||||||
description: Controller that run jobs based on git events
|
|
||||||
name: gitjob
|
|
||||||
version: 0.1.25
|
|
|
@ -1,7 +0,0 @@
|
||||||
{{- define "system_default_registry" -}}
|
|
||||||
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
|
||||||
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- "" -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
|
@ -1,38 +0,0 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: gitjob
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- "batch"
|
|
||||||
resources:
|
|
||||||
- 'jobs'
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- 'pods'
|
|
||||||
verbs:
|
|
||||||
- 'list'
|
|
||||||
- 'get'
|
|
||||||
- 'watch'
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- 'secrets'
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- 'configmaps'
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
- apiGroups:
|
|
||||||
- "gitjob.cattle.io"
|
|
||||||
resources:
|
|
||||||
- "gitjobs"
|
|
||||||
- "gitjobs/status"
|
|
||||||
verbs:
|
|
||||||
- "*"
|
|
|
@ -1,12 +0,0 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: gitjob-binding
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: gitjob
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: gitjob
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
|
@ -1,45 +0,0 @@
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: gitjob
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: "gitjob"
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: "gitjob"
|
|
||||||
spec:
|
|
||||||
serviceAccountName: gitjob
|
|
||||||
containers:
|
|
||||||
- image: "{{ template "system_default_registry" . }}{{ .Values.gitjob.repository }}:{{ .Values.gitjob.tag }}"
|
|
||||||
name: gitjob
|
|
||||||
command:
|
|
||||||
- gitjob
|
|
||||||
{{- if .Values.debug }}
|
|
||||||
- --debug
|
|
||||||
{{- end }}
|
|
||||||
- --tekton-image
|
|
||||||
- "{{ template "system_default_registry" . }}{{ .Values.tekton.repository }}:{{ .Values.tekton.tag }}"
|
|
||||||
env:
|
|
||||||
- name: NAMESPACE
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.namespace
|
|
||||||
{{- if .Values.proxy }}
|
|
||||||
- name: HTTP_PROXY
|
|
||||||
value: {{ .Values.proxy }}
|
|
||||||
- name: HTTPS_PROXY
|
|
||||||
value: {{ .Values.proxy }}
|
|
||||||
- name: NO_PROXY
|
|
||||||
value: {{ .Values.noProxy }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
|
@ -1,12 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: gitjob
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: http-80
|
|
||||||
port: 80
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 8080
|
|
||||||
selector:
|
|
||||||
app: "gitjob"
|
|
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: gitjob
|
|
|
@ -1,28 +0,0 @@
|
||||||
gitjob:
|
|
||||||
repository: rancher/gitjob
|
|
||||||
tag: v0.1.25
|
|
||||||
|
|
||||||
tekton:
|
|
||||||
repository: rancher/tekton-utils
|
|
||||||
tag: v0.1.4
|
|
||||||
|
|
||||||
global:
|
|
||||||
cattle:
|
|
||||||
systemDefaultRegistry: ""
|
|
||||||
|
|
||||||
# http[s] proxy server
|
|
||||||
# proxy: http://<username>@<password>:<url>:<port>
|
|
||||||
|
|
||||||
# comma separated list of domains or ip addresses that will not use the proxy
|
|
||||||
noProxy: 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local
|
|
||||||
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/os: linux
|
|
||||||
|
|
||||||
tolerations:
|
|
||||||
- key: cattle.io/os
|
|
||||||
operator: "Equal"
|
|
||||||
value: "linux"
|
|
||||||
effect: NoSchedule
|
|
||||||
|
|
||||||
debug: false
|
|
|
@ -1,7 +0,0 @@
|
||||||
{{- define "system_default_registry" -}}
|
|
||||||
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
|
||||||
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- "" -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
|
@ -1,24 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller
|
|
||||||
data:
|
|
||||||
config: |
|
|
||||||
{
|
|
||||||
"agentImage": "{{ template "system_default_registry" . }}{{.Values.agentImage.repository}}:{{.Values.agentImage.tag}}",
|
|
||||||
"agentImagePullPolicy": "{{ .Values.agentImage.imagePullPolicy }}",
|
|
||||||
"apiServerURL": "{{.Values.apiServerURL}}",
|
|
||||||
"apiServerCA": "{{b64enc .Values.apiServerCA}}",
|
|
||||||
"agentCheckinInterval": "{{.Values.agentCheckinInterval}}",
|
|
||||||
"ignoreClusterRegistrationLabels": {{.Values.ignoreClusterRegistrationLabels}},
|
|
||||||
"bootstrap": {
|
|
||||||
"paths": "{{.Values.bootstrap.paths}}",
|
|
||||||
"repo": "{{.Values.bootstrap.repo}}",
|
|
||||||
"secret": "{{.Values.bootstrap.secret}}",
|
|
||||||
"branch": "{{.Values.bootstrap.branch}}",
|
|
||||||
"namespace": "{{.Values.bootstrap.namespace}}",
|
|
||||||
"agentNamespace": "{{.Values.bootstrap.agentNamespace}}",
|
|
||||||
},
|
|
||||||
"webhookReceiverURL": "{{.Values.webhookReceiverURL}}",
|
|
||||||
"githubURLPrefix": "{{.Values.githubURLPrefix}}"
|
|
||||||
}
|
|
|
@ -1,49 +0,0 @@
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: fleet-controller
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: fleet-controller
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: NAMESPACE
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.namespace
|
|
||||||
{{- if .Values.proxy }}
|
|
||||||
- name: HTTP_PROXY
|
|
||||||
value: {{ .Values.proxy }}
|
|
||||||
- name: HTTPS_PROXY
|
|
||||||
value: {{ .Values.proxy }}
|
|
||||||
- name: NO_PROXY
|
|
||||||
value: {{ .Values.noProxy }}
|
|
||||||
{{- end }}
|
|
||||||
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
|
||||||
name: fleet-controller
|
|
||||||
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
|
||||||
command:
|
|
||||||
- fleetcontroller
|
|
||||||
{{- if .Values.debug }}
|
|
||||||
- --debug
|
|
||||||
- --debug-level
|
|
||||||
- {{ quote .Values.debugLevel }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if not .Values.gitops.enabled }}
|
|
||||||
- --disable-gitops
|
|
||||||
{{- end }}
|
|
||||||
serviceAccountName: fleet-controller
|
|
||||||
{{- with .Values.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
|
@ -1,106 +0,0 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- gitjob.cattle.io
|
|
||||||
resources:
|
|
||||||
- '*'
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
- apiGroups:
|
|
||||||
- fleet.cattle.io
|
|
||||||
resources:
|
|
||||||
- '*'
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- namespaces
|
|
||||||
- serviceaccounts
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- secrets
|
|
||||||
- configmaps
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
- apiGroups:
|
|
||||||
- rbac.authorization.k8s.io
|
|
||||||
resources:
|
|
||||||
- clusterroles
|
|
||||||
- clusterrolebindings
|
|
||||||
- roles
|
|
||||||
- rolebindings
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: fleet-controller
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: fleet-controller
|
|
||||||
namespace: {{.Release.Namespace}}
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: Role
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- configmaps
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: RoleBinding
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: Role
|
|
||||||
name: fleet-controller
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: fleet-controller
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller-bootstrap
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- '*'
|
|
||||||
resources:
|
|
||||||
- '*'
|
|
||||||
verbs:
|
|
||||||
- '*'
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller-bootstrap
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: fleet-controller-bootstrap
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: fleet-controller-bootstrap
|
|
||||||
namespace: {{.Release.Namespace}}
|
|
|
@ -1,10 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: fleet-controller-bootstrap
|
|
|
@ -1,62 +0,0 @@
|
||||||
image:
|
|
||||||
repository: rancher/fleet
|
|
||||||
tag: v0.3.9-rc3
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
agentImage:
|
|
||||||
repository: rancher/fleet-agent
|
|
||||||
tag: v0.3.9-rc3
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
# For cluster registration the public URL of the Kubernetes API server must be set here
|
|
||||||
# Example: https://example.com:6443
|
|
||||||
apiServerURL: ""
|
|
||||||
|
|
||||||
# For cluster registration the pem encoded value of the CA of the Kubernetes API server must be set here
|
|
||||||
# If left empty it is assumed this Kubernetes API TLS is signed by a well known CA.
|
|
||||||
apiServerCA: ""
|
|
||||||
|
|
||||||
# A duration string for how often agents should report a heartbeat
|
|
||||||
agentCheckinInterval: "15m"
|
|
||||||
|
|
||||||
# Whether you want to allow cluster upon registration to specify their labels.
|
|
||||||
ignoreClusterRegistrationLabels: false
|
|
||||||
|
|
||||||
# http[s] proxy server
|
|
||||||
# proxy: http://<username>@<password>:<url>:<port>
|
|
||||||
|
|
||||||
# comma separated list of domains or ip addresses that will not use the proxy
|
|
||||||
noProxy: 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local
|
|
||||||
|
|
||||||
bootstrap:
|
|
||||||
# The namespace that will be autocreated and the local cluster will be registered in
|
|
||||||
namespace: fleet-local
|
|
||||||
# The namespace where the fleet agent for the local cluster will be ran, if empty
|
|
||||||
# this will default to fleet-system
|
|
||||||
agentNamespace: ""
|
|
||||||
# A repo to add at install time that will deploy to the local cluster. This allows
|
|
||||||
# one to fully bootstrap fleet, it's configuration and all it's downstream clusters
|
|
||||||
# in one shot.
|
|
||||||
repo: ""
|
|
||||||
secret: ""
|
|
||||||
branch: master
|
|
||||||
paths: ""
|
|
||||||
|
|
||||||
global:
|
|
||||||
cattle:
|
|
||||||
systemDefaultRegistry: ""
|
|
||||||
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/os: linux
|
|
||||||
|
|
||||||
tolerations:
|
|
||||||
- key: cattle.io/os
|
|
||||||
operator: "Equal"
|
|
||||||
value: "linux"
|
|
||||||
effect: NoSchedule
|
|
||||||
|
|
||||||
gitops:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
debug: false
|
|
||||||
debugLevel: 0
|
|
55
index.yaml
55
index.yaml
|
@ -1,29 +1,6 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
entries:
|
entries:
|
||||||
fleet:
|
fleet:
|
||||||
- annotations:
|
|
||||||
catalog.cattle.io/auto-install: fleet-crd=match
|
|
||||||
catalog.cattle.io/certified: rancher
|
|
||||||
catalog.cattle.io/experimental: "true"
|
|
||||||
catalog.cattle.io/hidden: "true"
|
|
||||||
catalog.cattle.io/namespace: cattle-fleet-system
|
|
||||||
catalog.cattle.io/os: linux
|
|
||||||
catalog.cattle.io/provides-gvr: clusters.fleet.cattle.io/v1alpha1
|
|
||||||
catalog.cattle.io/release-name: fleet
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: 0.3.9-rc3
|
|
||||||
created: "2022-02-25T11:29:45.857394873+05:30"
|
|
||||||
dependencies:
|
|
||||||
- condition: gitops.enabled
|
|
||||||
name: gitjob
|
|
||||||
repository: file://./charts/gitjob
|
|
||||||
description: Fleet Manager - GitOps at Scale
|
|
||||||
digest: 2dabc1313357142e2aa49fef2732e5ac072458552851b4d91b0dfa231f3f9d49
|
|
||||||
icon: https://charts.rancher.io/assets/logos/fleet.svg
|
|
||||||
name: fleet
|
|
||||||
urls:
|
|
||||||
- assets/fleet/fleet-100.0.3+up0.3.9-rc3.tgz
|
|
||||||
version: 100.0.3+up0.3.9-rc3
|
|
||||||
- annotations:
|
- annotations:
|
||||||
catalog.cattle.io/auto-install: fleet-crd=match
|
catalog.cattle.io/auto-install: fleet-crd=match
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
|
@ -208,22 +185,6 @@ entries:
|
||||||
- assets/fleet/fleet-0.3.000.tgz
|
- assets/fleet/fleet-0.3.000.tgz
|
||||||
version: 0.3.000
|
version: 0.3.000
|
||||||
fleet-agent:
|
fleet-agent:
|
||||||
- annotations:
|
|
||||||
catalog.cattle.io/certified: rancher
|
|
||||||
catalog.cattle.io/hidden: "true"
|
|
||||||
catalog.cattle.io/namespace: cattle-fleet-system
|
|
||||||
catalog.cattle.io/os: linux
|
|
||||||
catalog.cattle.io/release-name: fleet-agent
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: 0.3.9-rc3
|
|
||||||
created: "2022-02-25T11:29:45.86334806+05:30"
|
|
||||||
description: Fleet Manager Agent - GitOps at Scale
|
|
||||||
digest: a18f0d0fbcaf060c9be1bb53fe3eb9756badf4ef21958b568d41f79478c34d05
|
|
||||||
icon: https://charts.rancher.io/assets/logos/fleet.svg
|
|
||||||
name: fleet-agent
|
|
||||||
urls:
|
|
||||||
- assets/fleet-agent/fleet-agent-100.0.3+up0.3.9-rc3.tgz
|
|
||||||
version: 100.0.3+up0.3.9-rc3
|
|
||||||
- annotations:
|
- annotations:
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
catalog.cattle.io/hidden: "true"
|
catalog.cattle.io/hidden: "true"
|
||||||
|
@ -369,22 +330,6 @@ entries:
|
||||||
- assets/fleet-agent/fleet-agent-0.3.000.tgz
|
- assets/fleet-agent/fleet-agent-0.3.000.tgz
|
||||||
version: 0.3.000
|
version: 0.3.000
|
||||||
fleet-crd:
|
fleet-crd:
|
||||||
- annotations:
|
|
||||||
catalog.cattle.io/certified: rancher
|
|
||||||
catalog.cattle.io/hidden: "true"
|
|
||||||
catalog.cattle.io/namespace: cattle-fleet-system
|
|
||||||
catalog.cattle.io/os: linux
|
|
||||||
catalog.cattle.io/release-name: fleet-crd
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: 0.3.9-rc3
|
|
||||||
created: "2022-02-25T11:29:45.879831051+05:30"
|
|
||||||
description: Fleet Manager CustomResourceDefinitions
|
|
||||||
digest: 1f544f893d41f3d3477d10f8c59f908669a2dcf6e9fdea88db2010baf5430d9d
|
|
||||||
icon: https://charts.rancher.io/assets/logos/fleet.svg
|
|
||||||
name: fleet-crd
|
|
||||||
urls:
|
|
||||||
- assets/fleet-crd/fleet-crd-100.0.3+up0.3.9-rc3.tgz
|
|
||||||
version: 100.0.3+up0.3.9-rc3
|
|
||||||
- annotations:
|
- annotations:
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
catalog.cattle.io/hidden: "true"
|
catalog.cattle.io/hidden: "true"
|
||||||
|
|
Loading…
Reference in New Issue