bitter-hair-80953
01/13/2024, 9:22 PMaverage-waitress-96027
01/15/2024, 1:42 PMenvironment
with values : dev,qa,prod
.
So for a specific targetCustomizations
I want to match only cluster/s with dev, qa,
values.
Is there any suggested way to do that?
I came up with this one, but is not documented in any place:
- name: qadev
clusterSelector:
matchExpressions:
- key: environment
operator: In
values:
- qa
- dev
helm:
valuesFiles:
- values-qadev.yaml
average-waitress-96027
01/15/2024, 8:11 PMhelm:
valuesFiles:
- values-$(global.fleet.clusterLabels.environment}.yaml
victorious-kite-35099
01/16/2024, 7:51 PMvictorious-kite-35099
01/16/2024, 7:52 PMquick-sandwich-76600
01/17/2024, 12:06 PMnumerous-guitar-95950
01/22/2024, 3:56 PMmany-thailand-98649
01/24/2024, 12:41 AMsilly-psychiatrist-82373
01/30/2024, 7:05 PMstraight-hamburger-29235
02/05/2024, 7:31 PMyaml:
) doesn't work. I tried helm+kustomize to try to add a new resource... and it doesn't work (it half works if the resource is manually created in advance but the bundle still has an error saying the resource is missing) where the kustomization.yaml
file just has resources: [ file ]
. Is the correct pattern to simply have a different dir with a fleet.yaml for yaml and/or kustomize that depends on the fleet.yaml that deploys the helm chart (this is what I have been doing)?straight-hamburger-29235
02/06/2024, 5:58 PMorphanedResources
?silly-psychiatrist-82373
02/06/2024, 10:19 PMstraight-hamburger-29235
02/12/2024, 6:18 PMunable to build kubernetes objects from release manifest: resource mapping not found for name: "kueyen" namespace: "fleet-default" from "": no matches for kind "GitRepo" in version "<http://fleet.cattle.io/v1alpha1|fleet.cattle.io/v1alpha1>"...
straight-hamburger-29235
02/15/2024, 4:24 PMstraight-hamburger-29235
02/15/2024, 5:11 PMdependsOn
with targetCustomizations
or equivalent? This would be useful for when changing chart options that then create a dependency on a CRD/etc. from another chart.straight-hamburger-29235
02/16/2024, 6:07 PMsummary:
desiredReady: 1
modified: 1
nonReadyResources:
- bundleState: Modified
modifiedStatus:
- apiVersion: batch/v1
kind: Job
missing: true
name: nfsexports
namespace: rook-ceph
name: fleet-default/namkueyen
ready: 0
salmon-noon-33588
02/17/2024, 12:49 AMadorable-lizard-29694
02/20/2024, 8:13 PMbroad-farmer-70498
02/20/2024, 8:48 PMbroad-farmer-70498
02/22/2024, 6:58 PMtall-hydrogen-17043
02/23/2024, 6:54 AMnice-tent-65195
02/23/2024, 1:03 PMtargetCustomizations:
- name: all
clusterSelector: {}
yaml:
overlays:
- modification
overlays/modification/deployment_patch.yaml:
spec:
template:
spec:
containers:
- name: some-name
This modification overrides the entire array, not just the name field:
ErrApplied(1) [Bundle customization: cannot patch "busybox" with kind Deployment: Deployment.apps "busybox" is invalid: spec.template.spec.containers[0].image: Required value]; deployment.apps default/busybox modified {"spec":{"template":{"spec":{"containers[0]":[{"name":"some-name"}]}}}}
tall-hydrogen-17043
02/26/2024, 2:41 PMtall-hydrogen-17043
03/01/2024, 7:40 AMhelm install kubeseal-webgui kubesealwebgui/kubeseal-webgui --namespace kube-system --set ingress.enabled=true --set api.url="<https://kubeseal-webgui.k8sapps-dev.xxx.internal>" --set sealedSecrets.autoFetchCert=true
But would like to convert this so that I use fleet.yaml to install it instead.
My translation to fleet looks like this:
defaultNamespace: kube-system
helm:
releaseName: kubeseal
chart: "kubeseal-webgui"
repo: "<https://jaydee94.github.io/kubeseal-webgui>"
values:
ingress.enabled: true
api.url: <https://kubeseal-webgui.k8sapps-dev.xxx.internal>
sealedSecrets.autoFetchCert: true
Things are created but this never creates the ingress.
What am I doing wrong?cuddly-nightfall-57667
03/01/2024, 6:10 PMminiature-salesclerk-33951
03/08/2024, 6:52 PMbrave-afternoon-4801
03/13/2024, 9:44 PMfleet test
THIS WHOLE TIME?!?
I can't believe someone didn't point this out sooner.
This should be written on a giant banner, and displayed front and center in every fleet demo.
Please tell me that's a new command. Holy !%^$faint-island-31128
03/15/2024, 7:16 AMcareful-piano-35019
03/15/2024, 8:10 AMadventurous-oyster-5549
03/19/2024, 8:32 AM