Comments (4)
To be absolutely sure this is not working (at least in my environment), I created a repo from the argoproj-labs/applicationset-hello-plugin template repo here, and it still seems to have returned the same error:
$ kustomize build | kubectl apply -f -
namespace/applicationset-hello-plugin created
configmap/hello-plugin-script-k5g94b88g8 created
configmap/applicationset-hello-plugin created
secret/applicationset-hello-plugin created
secret/applicationset-hello-plugin created
service/applicationset-hello-plugin created
deployment.apps/applicationset-hello-plugin created
$ kubectl apply -f test_applicationset.yaml
Error from server (BadRequest): error when creating "test_applicationset.yaml": ApplicationSet in version "v1alpha1" cannot be handled as a ApplicationSet: strict decoding error: unknown field "spec.generators[0].plugin"
test_applicationset.yaml
is the one from the README here:
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: myplugin
spec:
generators:
- plugin:
configMapRef:
name: applicationset-hello-plugin
template:
metadata:
name: "from-appset-{{hello}}"
spec:
project: default
source:
repoURL: https://github.com/argoproj/argocd-example-apps.git
path: .
destination:
server: https://kubernetes.default.svc
namespace: default
Is there something I need to update in the main argocd configmap or anything to make it work? Maybe I just missed a setting 🤔
from applicationset.
Oh no, I just realized I was looking at the v:latest
documentation this whole time because it has syntax highlighting and v:stable
does not. This feature isn't in stable and I'm running a stable image version 🤦
Let me try latest, because I have a good test environment with k3s where I can just wipe the cluster and try fresh and I want to experiment anyway :)
from applicationset.
oh double no.... how did I not notice the blatant deprecation notice on this repo 🤦
Will reopen in the argocd repo, if this is an issue in stable 2.8
.
Minor suggestion to use the GitHub public archive feature though, so it's clear at the top of repo that this is not active. I feel silly for not reading the README here though :)
from applicationset.
For anyone else who may have gotten lost:
It works in v2.8.0-rc7
by setting global.image.tag
in values.yaml
for your helm install to v2.8.0-rc7
and then applying this CRD. :)
from applicationset.
Related Issues (20)
- Webhooks: add support for Bitbucket HOT 3
- Github rate limit hit, even using `scmProvider.filters` HOT 1
- scmProvider Github filter combination (repositoryMatch + labelMatch) not generating apps HOT 1
- Merge generator where a generator can reference items of another one HOT 1
- FATA[0000] rpc error: code = Unimplemented desc = unknown service applicationset.ApplicationSetService HOT 2
- using helm and git repos inside ApplicationSet HOT 2
- git-generator-directory - doesn't apply value file
- docs: merge generator typo in example
- Feature Request: ApplicationSet Generators Should Support Jinja Conditionals HOT 1
- ApplicationSet not able to render helm chart when value is not defined in generator list
- Include SHA of test merge commit in PR generator for GitHub
- clusterDecisionResource example outdate ?
- Ability to provide multiple values files for Helm chart, using multiple sources HOT 3
- ApplicationSet fails silently
- Replace deprecated `set-output` command with environment file HOT 1
- How to set scmProvider filter based on repository group or path? HOT 1
- scmProvider for gitlab should export a Normalized version of the organization value HOT 2
- Application Set with Existing Project Issue HOT 1
- Matrix generator - Combine SCM and Git Generators, consume parameters from parent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationset.