adamant-kite-43734
06/12/2023, 1:23 PMwonderful-carpenter-92656
06/13/2023, 7:29 AMwonderful-carpenter-92656
06/13/2023, 7:29 AMwonderful-carpenter-92656
06/13/2023, 7:30 AMnumerous-lighter-90852
06/13/2023, 7:33 AMagentCheckinInterval: 15m
agentImage:
imagePullPolicy: IfNotPresent
repository: rancher/fleet-agent
tag: v0.4.0
apiServerCA: ''
apiServerURL: *****************
bootstrap:
agentNamespace: cattle-fleet-local-system
branch: master
namespace: fleet-local
paths: ''
repo: ''
secret: ''
debug: false
debugLevel: 0
gitjob:
debug: false
gitjob:
repository: rancher/gitjob
tag: v0.1.32
global:
cattle:
clusterId: local
clusterName: local
rkePathPrefix: ''
rkeWindowsPathPrefix: ''
systemDefaultRegistry: ''
systemProjectId: p-6cnhz
url: ****************
systemDefaultRegistry: ''
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: {}
tekton:
repository: rancher/tekton-utils
tag: v0.1.7
tolerations: null
gitops:
enabled: true
global:
cattle:
systemDefaultRegistry: ''
clusterId: local
clusterName: local
rkePathPrefix: ''
rkeWindowsPathPrefix: ''
systemProjectId: p-6cnhz
url: ********************
systemDefaultRegistry: ''
ignoreClusterRegistrationLabels: false
image:
imagePullPolicy: IfNotPresent
repository: rancher/fleet
tag: v0.4.0
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: {}
tolerations: null
numerous-lighter-90852
06/13/2023, 7:35 AMapiVersion: <http://fleet.cattle.io/v1alpha1|fleet.cattle.io/v1alpha1>
kind: GitRepo
metadata:
name: **********************
namespace: fleet-local
spec:
branch: master
clientSecretName: *****************
forceSyncGeneration: 128
insecureSkipTLSVerify: false
paths:
- /***/***/ms/category
paused: false
repo: https:/****/repo.git
targets:
- clusterSelector:
matchExpressions:
- key: <http://provider.cattle.io|provider.cattle.io>
operator: NotIn
values:
- harvester
wonderful-carpenter-92656
06/13/2023, 7:39 AMwonderful-carpenter-92656
06/13/2023, 7:46 AM# A git repo can read multiple paths in a repo at once.
# The below field is expected to be an array of paths and
# supports path globbing (ex: some/*/path)
#
# Example:
# paths:
# - single-path
# - multiple-paths/*
paths:
- simple
It read multiple paths at oncewonderful-carpenter-92656
06/13/2023, 7:48 AMrepo:
|_ myapp
|_ myapp-second
and for me it's working, I can see only one deployment is created which I mentioned in the paths: myappwonderful-carpenter-92656
06/13/2023, 7:49 AMcar-second
application then rename fleet.yaml
file from that folder.wonderful-carpenter-92656
06/13/2023, 7:49 AMwonderful-carpenter-92656
06/13/2023, 7:49 AMnumerous-lighter-90852
06/13/2023, 7:52 AMwonderful-carpenter-92656
06/13/2023, 8:05 AMwonderful-carpenter-92656
06/13/2023, 8:06 AMnumerous-lighter-90852
06/13/2023, 8:07 AMwonderful-carpenter-92656
06/13/2023, 8:10 AMmyapp
|_fleet.yaml
|_nginx.yaml
myapp-second
|_fleet.yaml
|_grafana.yaml
Nginx is deployment
Grafana is helm chartnumerous-lighter-90852
06/13/2023, 8:19 AMwonderful-carpenter-92656
06/13/2023, 8:19 AMnumerous-lighter-90852
06/13/2023, 8:21 AMnumerous-lighter-90852
06/13/2023, 12:43 PMwonderful-carpenter-92656
06/13/2023, 1:01 PMnumerous-lighter-90852
06/13/2023, 1:02 PMwonderful-carpenter-92656
06/13/2023, 1:03 PMnumerous-lighter-90852
06/13/2023, 1:03 PMnumerous-lighter-90852
06/13/2023, 1:06 PMwonderful-carpenter-92656
06/13/2023, 1:09 PMwonderful-carpenter-92656
06/13/2023, 2:16 PMwonderful-carpenter-92656
06/13/2023, 2:17 PMwonderful-carpenter-92656
06/13/2023, 2:17 PMnumerous-lighter-90852
06/13/2023, 2:18 PMwonderful-carpenter-92656
06/13/2023, 2:18 PM