68 questions
0
votes
0
answers
19
views
Migration from Native Helm Release to FluxCD Helm Release
I need to migrate the currently deployed Native Helm Release to FluxCD HelmRelease.
How can I achieve this?
0
votes
1
answer
96
views
Flux with SOPS doesn't decrypt stringData [closed]
I'm trying to use fluxcd on my kubernetes cluster, which is working perfectly fine.
Now I wanted to add prometheus/grafana stack and use sops to decrypt the basic_auth part in the scrapingConfig from ...
0
votes
0
answers
116
views
Automating FluxCD Image Update
I am deploying a web with Flux, GitHub Actions, DockerHub, and Kubernetes. Here is the flowchart. The method I am using currently to update the web is to automate deleting the old pod with GitHub ...
0
votes
0
answers
26
views
fluxcd v2 analog to valuesFrom chartFileRef
What is the analog of Flux v1 HelmRelease expression bellow for flux v2? Can same custom.yaml be used for both flux v1 and flux v2?
valuesFrom:
- chartFileRef:
path: values/custom.yaml
0
votes
0
answers
76
views
TF-Controller: Synced TF resources not showing in Argo
I am using FluxCD with Tofu-Controller and Argo to deploy+manage Terraform resources. I am able to see that the Terraform resources are getting deployed, but I cannot see them visually in Argo. Is ...
-2
votes
1
answer
306
views
Timeout in ansible when executing flux bootstrap
I am using Hyperledger Bevel to manage a Hyperledger Fabric 2.2 network. It has been working ok so far but I am not trying to perform some maintenance actions executing the playbook:
ansible-playbook ...
1
vote
2
answers
986
views
How does AKS / FLUX install a local helm chart? [closed]
I've recently been looking into GITOPS & FLUX and am struggling to figure out how to install a local HELM chart.
My setup is AKS, using the GITOPS/FLUX add-in and I'm doing the configuration via ...
0
votes
1
answer
560
views
Flux CD does not work with Kustomize Kind: Component
I have the following structure:
├───base
│ └───redis
│ kustomization.yaml
│ release.yaml
│
├───components
│ └───target-namespace
│ kustomization.yaml
│
└───prod
└─...
0
votes
1
answer
554
views
YAMLToJSON: variable substitution failed: missing closing brace
I'm trying to inject few jetty variables from fluxcd HelmRelease into heom chart, However yaml or fluxcd refers to a variable instead of considering the value as a string.
apiVersion: helm.toolkit....
2
votes
0
answers
1k
views
FluxCD kustomization difficulty applying patch
Starting from the FluxCD two cluster example at https://github.com/fluxcd/flux2-kustomize-helm-example, I'm having difficulty applying a patch to the infrastructure GitRepo.
When applying the patch as ...
1
vote
1
answer
690
views
Azure Kubernetes GitOps flux
I hope someone can help with this issue.
I have an azure kubernetes service and i enabled GitOps linking the AKS to my github repository.
The connection succeded, and as testing purpose i wanted to ...
0
votes
1
answer
3k
views
In Flux 2, how to apply a manual update of a HelmRelease?
How do I manually trigger the FluxCD (v2) Helm Controller to re-apply a named HelmRelease, without flux restoring that HelmRelease to match the version stored in git?
Normally (for GitOps), we would ...
-1
votes
2
answers
727
views
what is gotk notation/symbol means in the fluxcd
recently I saw a usage of using flux cd to do deployment in k8s:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- apiGroup: rbac.authorization.k8s....
0
votes
1
answer
892
views
Adding toleration to FluxCD bootstrap
I am trying to add some tolerations for the FluxCD pod, but could not understand the syntax for tolerations
here is how i was trying
flux bootstrap github \
--toleration-keys='name=dedicated,value=...
1
vote
1
answer
611
views
Getting 'Forbidden: unknown' Error When Bootstrapping Flux with GitLab and Terraform
I am trying to bootstrap Flux with GitLab through Terraform in DigitalOcan, when I test it, I get this error message and I don't understand what I am doing wrong.
│ Error: Bootstrap run error
│
│ ...
2
votes
1
answer
189
views
How to authenticate with GitHub using Pulumi Flux package in Go
I want to bootstrap FluxCD on Kubernetes through a Pulumi inline program written in Go but am unable to give it access to GitHub.
As seen in the code below, I first create a new Pulumi provider then ...
0
votes
1
answer
559
views
When using Flux2 with Azure Kubernetes Service how to I authorise the ImageRespository YAML correctly (workload/kubelet)?
I've been working with Flux2 in AKS for a few months now and am slowly progressing to some of the more interesting features. This week I'm trying to set up an ImageRepository which can see when my ...
0
votes
1
answer
587
views
How do I enable / disable the multi tenancy restrictions in Flux2 with AKS (and should I?)
I'm starting on a journey with Flux2 against my shiny new AKS cluster (testing/development) and wanted to use GitOps as my default way of deploying stuff into my cluster. As a result, i thought I'd ...
0
votes
2
answers
936
views
How to configure FluxCD in AKS to use service principal to pull from AzureDevops repo?
During the setup of a AKS cluster (with terraform, but I don't think it's relevant in this context) I want to enable and configure the flux extension.
Flux should, of course, pull the yaml-files from ...
0
votes
1
answer
3k
views
Helmrelease cannot find Helmsource
When I try to apply Helmrelease Flux cannot find the source but the source actually exists.
I use Artifact Registry (GCP) for Helm chart repo.
Here is the Flux command I used to create it:
flux create ...
0
votes
0
answers
314
views
Is there any workaround for long-running jobs to not block installing / upgrading Helm Release?
just wondering if there is any decent workaround for long-running jobs that won't block upgrading / installing Helm Release.
Let's consider this - we have a job that is for example syncing S3 buckets ...
0
votes
1
answer
913
views
Flux failed to clone repository
Im trying to update my flux via bootstrap by following this documentation:
https://fluxcd.io/flux/use-cases/azure/#flux-installation-for-azure-devops
Im running this code, enter my password, and run ...
0
votes
1
answer
415
views
Fluxcd sign its commits
I want to config Flux to sign its commit on the repository. I passed gpg key in bootstrap command but it just signs the first commit that it does for creating flux-system directory, but for example ...
5
votes
2
answers
8k
views
flux kustomize build failed - resource with an already registered id
Here is the folder structure for my flux repo
└── clusters
└── homelab
├── default
│ ├── deployment.yaml
└── flux-system
├── gotk-components.yaml
├── gotk-sync.yaml
...
2
votes
0
answers
262
views
Error when running flux check - no controllers found in the 'flux-system' namespace with the label selector 'app.kubernetes.io/part-of=flux'
Running on k3s cluster.
I received the following error when trying to run flux check;
❯ flux check
► checking prerequisites
✔ Kubernetes 1.25.7+k3s1 >=1.20.6-0
► checking controllers
✗ no ...
5
votes
1
answer
8k
views
How could I preview the final result when applying kustomizations to a git repo with helm templates?
I have a git repo with helm charts, and a git repo per environment with kustomizations for those charts. All of this in working great with flux. But I don't know how to "preview" my changes ...
1
vote
2
answers
5k
views
Helm uninstall failed: uninstall: Release not loaded: name: release: not found
I am installing solr using flux on an AKS cluster. During installation I get reconciliation error.
when I do flux get all -A --status-selector ready=false, I get the below message
Helm uninstall ...
0
votes
3
answers
571
views
Is it possible to configure Kubernetes to deploy services in a specific order?
I have 3 services that are based on the same image, they're basically running the same app in 3 different configurations. 1 service is responsible for running migrations and data updates which the ...
0
votes
1
answer
695
views
Flux OCI with kubernetes on Azure
I have switched from using tradition way of pushing helm chart to oci format.
But on then kubernetes cluster the charts are not getting installed and I am getting the below error:
chart pull error: ...
0
votes
1
answer
726
views
FluxCD on Azure AKS: Reconciler errors
I had to rerun flux bootstrap... on my cluster after a colleague accidentally ran flux bootstrap... on their new cluster using the existing branch and cluster from the same flux repo.
Running kubectl ...
1
vote
1
answer
2k
views
Flux v2 - How to Deploy Same Helm Chart, Multiple Times, Into Different Namespaces
We are building out a small cluster for a dev team.
Ive been working through this repo: https://github.com/fluxcd/flux2-kustomize-helm-example
The infrastructure part went fine.
Now instead of apps I ...
0
votes
1
answer
5k
views
Overwrite values.yaml in flux helm deplyoment from other source than the helmchart
I want to deploy a helm chart via flux. The helm chart is inside a repository like for example artifacthub.io where I cannot change it.
The release.yaml looks something like that
---
apiVersion: helm....
1
vote
1
answer
6k
views
flux deployment error X509 certificate signed by unknown authority
My aim is to deploy a container-labelling-webhook solution onto my AKS cluster using flux CD v2. Once I have it operational, I want to rollout to multiple clusters.
Command used to bootstrap AKS ...
1
vote
1
answer
2k
views
error decrypting env sources: no kustomization file found
I have successfully installed flux-cd using helmChart
Using CRD, I have deployed a gitrepos resource as required but error occured when i try to apply my kustomize yaml in kubernetes
Sops is ...
3
votes
1
answer
469
views
FluxCD: create repository failed, unable to unmarshall repository json: unexpected end of JSON input
I'm trying to do
flux bootstrap bitbucket-server \ ✱
--token-auth \
--hostname=...
1
vote
2
answers
2k
views
K8s namespace terminating for 2 days
I was attempting to remove fluxcd from a kubernetes cluster and it is stuck at deleting the namespace 'flux-system'. I've tried removing 'kubernetes' from the finalizers but getting a 404 when using ...
1
vote
1
answer
892
views
FluxCD notification error sending to Microsoft Teams
I am trying to configure FluxCD in Kubernetes to send notifications to Microsfot Teams for reconciliation events.
I have followed the FluxCD "Setup Notifications" instructions. Everything is ...
0
votes
1
answer
4k
views
FluXCD Helm deployment from Azure ACR - no chart name found error
I am attempting to deploy a Helm chart to AKS using FluxCD. The chart has been pushed to Azure ACR using the Helm cli - "helm push ...". The chart is declared in the ACR as helm/release-...
0
votes
1
answer
1k
views
Flux2 Image Reflector Controller not able to find a match on my image tags
I'm working with Flux2. I'm new to Flux and I'm trying to set up the Image Reflector controller to find the last image tag in my image registry but I'm getting an error on my image policy 'unable to ...
2
votes
1
answer
1k
views
Universal way to check if container image changed without pulling that works for all container registries
I'm writing a tool to sync container image from any container registry. In order to sync images, I need a way to check if local image:tag is different from remote image:tag, possibly through comparing ...
5
votes
2
answers
3k
views
Can you patch an arbitrary resource with no base via kustomize?
I've been trying to patch a Deployment, declared and applied by a kops addon (Ebs drivers).
Unfortunately, after trying the variety of patching strategies, it seems that I am unable to patch a ...
0
votes
1
answer
881
views
How can I stop flux from deploying to my default namespace?
I have a Kubernetes cluster setup with Flux. I have an infrastructure folder that has ingress/base and ingress/overlays/development in it. Hopefully this screenshot helps with the directory structure:
...
1
vote
1
answer
814
views
Fluxcd ImageRepository authentication with AWS Elastic Container Registry Not working
Fluxcd ImageRepository authentication with AWS Elastic Container Registry Not working on ARM64 graviton node.
After debugging I found that the image used in the init container to get cred credentials ...
2
votes
1
answer
1k
views
SSH key scan for host https://gitlab.host.com failed, error: dial tcp: lookup tcp///gitlab.host.com: getaddrinfow: The specified class was not foun
I am trying to set up FluxCD with a private GitLab repo. Here is the command I am using to install Flux on a Kubernetes cluster and configure it to manage itself from a Git repository.
flux bootstrap ...
1
vote
1
answer
3k
views
How to solve 'GitRepository not found' error in FluxCD?
I am trying to use Azure kuberenetes cluster and FluxCD to connect to a repository named realtimeapp-infra in Gitlab. I created the source and kustomization .yaml files in another repo training-setup, ...
2
votes
1
answer
1k
views
FluxCD image not updated on helm release
I started with FluxCD, and I'm looking to update my helm releases with each new image that was pushed into docker registry. So far I have my policies and imageautomation in place - which are working ...
0
votes
2
answers
1k
views
Fluxcd multiple repo and cluster without helm
How to handle multiple repository and clusters in Fluxcd v2 without using helm repository
0
votes
1
answer
441
views
Fluxcd cli autocomplete kubernetes
Is it possible to have the fluxcd cli autocomplete information from the cluster in the current context, similar to how kubectl or helm does?
While flux does provide cli completion via flux completion ...
3
votes
1
answer
3k
views
Flux V2 not pushing new image version to git repo
I've upgrade from Flux V1 to V2. It all went fairly smooth but I can't seem to get the ImageUpdateAutomation to work. Flux knows I have images to update but it doesn't change the container image in ...
1
vote
2
answers
2k
views
Is there a FluxCD equivalent to "argocd app wait" or "helm upgrade --wait"?
I did the following to deploy a helm chart (you can copy-and-paste my sequence of commands to reproduce this error).
$ flux --version
flux version 0.16.1
$ kubectl create ns traefik
$ flux create ...