https://rancher.com/ logo
Title
m

millions-pizza-50389

03/13/2023, 10:27 AM
👋 … how can you handle CRD’s in fleet? I have applications that is part helm chart and part CRD’s that are usually applied with kubectl BUT can I do that with fleet? ex. for appscode Stash
# Update catalog CRDs
$ kubectl apply -f <https://github.com/stashed/installer/raw/v2023.03.13/crds/stash-catalog-crds.yaml>

# Update the helm repositories
$ helm repo update

# Upgrade Stash Community operator chart
$ helm upgrade stash appscode/stash \
  --version v2023.03.13 \
  --namespace kube-system \
  --set features.community=true               \
  --set-file global.license=/path/to/the/license.txt
n

nutritious-orange-38459

03/13/2023, 12:26 PM
👋 The same way you handle any other resource: Check the file into your git repo and it will be applied. https://github.com/rancher/fleet-examples/tree/master/simple
m

millions-pizza-50389

03/13/2023, 12:28 PM
aahh. cool … but can it be a remote file ? so that it’s an equivelent of
kubectl apply -f <https://github.com/stashed/installer/raw/v2023.03.13/crds/stash-catalog-crds.yaml>
or do I need to copy the file and have that copy in my own gitrepo?
n

nutritious-orange-38459

03/13/2023, 12:31 PM
Exactly, copy the file into your own gitrepo 🙂
m

millions-pizza-50389

03/13/2023, 12:32 PM
cool … thanks @nutritious-orange-38459 🙏