This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
imagePullSecrets are dropped on the floor #304
Comments
@snoby thanks for trying out kedge.
name: sparky
labels:
app: sparky
replicas: 1
containers:
- name: sparky
image: sparkb/sparky:UNKNOWN_VERSION
livenessProbe:
httpGet:
path: /liveness
port: 10009
readinessProbe:
httpGet:
path: /ready
port: 10009
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 300m
memory: 128Mi
imagePullSecrets:
- name: dockerhub-key And now run generate, it will generate it for you. $ kedge generate -f file.yaml
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: sparky
name: sparky
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: sparky
name: sparky
spec:
containers:
- image: sparkb/sparky:UNKNOWN_VERSION
livenessProbe:
httpGet:
path: /liveness
port: 10009
name: sparky
readinessProbe:
httpGet:
path: /ready
port: 10009
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 300m
memory: 128Mi
imagePullSecrets:
- name: dockerhub-key
status: {}
HTH 🙂 |
AH yes indeed. I thought I had tried that. Man guys just get annotations to work and it's exactly the tool I need!!!!! |
We are in discussion of how do we add support of annotations! @containscafeine you might wanna link this as a feature request from user! |
Mistakes like this should be cached by Kedge. This goes back to #168 |
ping @surajnarwade |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While generating a template that used imagePullSecrets I determined that the kedge templating engine drops the "imagePullSecrets" on the floor and doesn't bring them over to the final rendered output.
The debug output is of very little use
the template:
the output result:
This along with the lack of passing annotations limits the effectiveness of this potentially wonderful tool!
The text was updated successfully, but these errors were encountered: