-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix example deployment #151
base: main
Are you sure you want to change the base?
Conversation
cc4610e
to
7d9582d
Compare
Are you using |
Yes, I'm going to use qbec with Argo CD, example setup: argoproj/argo-cd#2930 (comment) |
I understand the changes to the deployment object but why doesn't I think one of the unit tests relies on the object having a generated name which is why I cannot accept that particular change. Happy to have you create a secondary test app under examples/ if you want to keep it tied to the qbec source tree |
I don't know, may be because I was testing it on newest 1.19 |
Kubectl has a defect with first apply on generateName. I'll dig up the details. Kubectl create is recommended |
Possibly this kubernetes/kubernetes#44501 |
Codecov Report
@@ Coverage Diff @@
## master #151 +/- ##
=======================================
Coverage 73.41% 73.41%
=======================================
Files 51 51
Lines 4300 4300
=======================================
Hits 3157 3157
Misses 966 966
Partials 177 177 Continue to review full report at Codecov.
|
This PR fixes two errors in example app:
First is missing selector for the Deployment:
Second is missing name for the Job (replaces generateName):