GitOps is a way to do Kubernetes cluster management and application delivery. It works by using Git as a single source of truth for declarative infrastructure and applications. With Git at the center of your delivery pipelines, developers can make pull requests to accelerate and simplify application deployments and operations tasks to Kubernetes.
Questions tagged [gitops]
121 questions
3
votes
1 answer
Connect kubernetes to GitLab Container Registry
I got problem with connecting my k3s cluster to GitLab Docker Registry.
On cluster I got created secret in default namespace like this
kubectl create secret docker-registry regcred --docker-server=https://gitlab.domain.tld:5050…

vdobes
- 85
- 4
3
votes
0 answers
GitHub Actions "User input" step
Is there a way (perhaps custom step/job on the marketplace) that prompts the user for input in the middle of a workflow?
I know it is possible to define user input fields when the workflow is triggered manually - workflow_dispatch event.
However, in…

Abraham
- 185
- 1
- 10
3
votes
1 answer
argo-cd how to test configuration in a "development" cluster before going live
I have a single argocd repository which contains all the configuration for the Kubernetes cluster. Now I want to work with PRs and only want to merge things which were tested on our continuous integration system before they can be merged. To do so,…

lony
- 6,733
- 11
- 60
- 92
3
votes
1 answer
argocd cli json output
I'm trying to make argocd cli output yaml/json to prep it for script ingestion.
According to this PR: https://github.com/argoproj/argo-cd/pull/2551
It should be available but I can't find the option in cli help nor in documentation.
#argocd version:…

Vano
- 1,416
- 1
- 13
- 26
3
votes
2 answers
How to create feature branches when hosting manifests separate from the source code?
The part that confuses me about gitops is the recommendation to separate source-code from manifests, e.g. This is what argocd has to say about it:
The use of a different Git repository to hold your kubernetes manifests (separate from your…

Gajus
- 69,002
- 70
- 275
- 438
3
votes
2 answers
How to use tag in kubernetes yaml file so the system knows a new image is pushed
I am trying to setup CI using Azure DevOps and CD using GitOps for my AKS cluster. When CI completes the image is pushed to Azure Container Registry. My issue is the name of the image in my yaml file is :latest. When I push the image to container…

Sormita Chakraborty
- 1,015
- 2
- 19
- 36
2
votes
1 answer
go get referring invalid tag
I have been developing a go based binary and there was a strange issue that I can across with.
So I do have package A and package B, where package B is directly referred in package A.
Main App (Package A) uses Package B
and package B is referred via…

Pasan Chamikara
- 715
- 9
- 21
2
votes
2 answers
argocd: why helm app not applying values.yml
I would like to install a helm release using argocd, i defined a helm app declaratively like the following :
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: moon
namespace: argocd
spec:
project: aerokube
source:
chart:…

Mohamed
- 239
- 1
- 4
- 17
2
votes
1 answer
Deploy through ArgoCD with same image name and tag ( image:latest )
I have started to learn GitOps ArgoCD. I have one basic doubt. I am unable to test ArgoCD because I do not have any Cluster. It will be so kind of you if you can clear my doubts.
As an example currently I am running my deployment using test:1…

Arghya Roy
- 429
- 3
- 13
2
votes
0 answers
How do I set ISTIO VirtualService host using configMap value WITHOUT helm
I am in need of being able to set a host string in an istio virtualService using a value located in a configMap. I cannot use HELM lookup because I am using ArgoCD to deploy which does not support helm lookup.
What I want to do:
apiVersion:…

Jerrod Horton
- 1,605
- 1
- 15
- 30
2
votes
1 answer
argocd app create in CI pipeline (GitHub Actions, Tekton, ...) throws "PermissionDenied desc = permission denied: applications, create, default/myapp"
From our Tekton pipeline we want to use ArgoCD CLI to do a argocd app create and argocd app sync dynamically based on the app that is build. We created a new user as described in the docs by adding a accounts.tekton: apiKey to the argocd-cm…

jonashackt
- 12,022
- 5
- 67
- 124
2
votes
0 answers
How do I run "terraform import" without failure when the resource doesn't exist?
I'm a dev on QHub which is a collection of templatized terraform scripts to deploy a data science platform on various cloud providers (AWS, GCP, Azure, Digital Ocean.) It uses S3 buckets to store the terraform state, and as part deployment we need…

neurochief
- 51
- 4
2
votes
2 answers
GitOps and e2e-Testing
we are currently setting up a GitOps-Workflow.
What I'm wondering is how to include our e2e-tests best.
As I would like to make sure, that the whole application runs flawlessly before allowing a merge-request to be approved the tests should run for…

digital-h
- 301
- 3
- 11
2
votes
1 answer
How to add a external cluster for deployment from ArgoCD CLI
I have a couple of cluster(Minikube and Kubeadm) setup in my local. I have installed ArgoCD in my Minikube cluster. I am able to perform deployment on the same and it works. Now I need to deploy to the kubeadm cluster setup from ArgoCD installed in…

AkshayBadri
- 504
- 1
- 10
- 18
2
votes
2 answers
Pod is not visible
I followed Kubecon Seattle 2018 Gitops Tutorial
everything was working fine till 4th step,
but in 5th step podinfo pod is not visible.
watch kubectl get pods
NAME READY STATUS RESTARTS AGE …
user14476065