Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Template function ShipCustomerRelease in config map produces error data too long #1064

Closed
emosbaugh opened this issue Sep 17, 2019 · 3 comments · Fixed by #1065
Closed

Template function ShipCustomerRelease in config map produces error data too long #1064

emosbaugh opened this issue Sep 17, 2019 · 3 comments · Fixed by #1065
Assignees
Labels
type::bug Something isn't working

Comments

@emosbaugh
Copy link
Member

Expected behavior

I should be able to follow this guide for a titled installation https://help.replicated.com/docs/ship/playbooks/entitlements/

Actual behavior

When i try to deploy the release yaml I get the following error:

The ConfigMap "titled" is invalid: metadata.annotations: Too long: must have at most 262144 characters

Information

  • Ship version: 0.51.0
  • Command line run: ship init replicated.app/myslug
@emosbaugh emosbaugh added the type::bug Something isn't working label Sep 17, 2019
@laverya
Copy link
Member

laverya commented Sep 17, 2019

As a fix, I'm going to drop Github data (and private image data) from ShipCustomerRelease to form a new function ShipCustomerReleaseMinimal. This should greatly reduce the size of the annotation produced here

@emosbaugh
Copy link
Member Author

does this require the ship app to change the k8s config map yaml? something to consider

@laverya
Copy link
Member

laverya commented Sep 17, 2019

It does
The alternative is to just remove those fields from ShipCustomerRelease, which might break things too (but I don't know of any use case that would require those fields to be exposed in such a way)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type::bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants