Code Monkey home page Code Monkey logo

flux-kustomize-example's Issues

Flux Git Write Overwrites Patch

When I deployed this, the first time flux tried to update an image version automatically, it completely overwrote the flux-patch.yaml with nothing but that image tag update.

component=sync-loop err="loading resources from repo: duplicate definition of 'demo:deployment/podinfo'

Forked repo to my github account

Installed flux using below command -
helm upgrade -i flux fluxcd/flux --set [email protected]:nikhilbalekundargi/flux-kustomize-example.git --set manifest-generation=true --set git-path=staging --set syncGarbageCollection.enabled=true --namespace flux --set helm.versions=v3 --wait
Added the deploy keys.

But getting below error -

ts=2020-06-29T11:39:45.025457267Z caller=loop.go:133 component=sync-loop event=refreshed url=ssh://[email protected]/nikhilbalekundargi/flux-kustomize-example.git branch=master HEAD=6afd0470c3e3638e6be049e4cc092f5181cd4f40
ts=2020-06-29T11:39:45.078872121Z caller=sync.go:73 component=daemon info="trying to sync git changes to the cluster" old= new=6afd0470c3e3638e6be049e4cc092f5181cd4f40
ts=2020-06-29T11:39:45.085088452Z caller=loop.go:107 component=sync-loop err="loading resources from repo: duplicate definition of 'demo:deployment/podinfo' (in base/podinfo-dep.yaml and production/flux-patch.yaml)"

fluxcd/flux#3166

Kustomize: Istio installation error

├── base
│ ├── kustomization.yaml
│ └── istio.yaml
└── Dev
| └── kustomization.yaml
├── Prod
|── kustomization.yaml

This is my Kustomise folder structure, i have kept the istio in base. base.kustomisation yaml has istio.yaml reference.

When i try to build in dev or prod ( kustomise build . ) in locally ,I get the below error

this is giving below error -
webhooks.clientConfig.service ignored in mutation attempt

When i remove the istio.yaml file and run command kustomise build . in local it works fine.

istio.yaml.txt

Note: Kustomize need to be apply cluster via flux-cd.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.