Skip to content
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

Use only 10 SHA characters for dev builds instead of 40 #1526

Merged
merged 1 commit into from Mar 25, 2021

Conversation

pmalek-sumo
Copy link
Contributor

To mitigate the following error:

$ helm upgrade --install collection --namespace sumologic sumologic/sumologic \
    -f /sumologic/values.perk.yaml \
    --create-namespace \
    --version 2.1.0-rc.0-3-g5482116e84c5075b589a504f61f0f204a15a61e8
Release "collection" does not exist. Installing it now.
Error: failed pre-install: warning: Hook pre-install sumologic/templates/setup/setup-serviceaccount.yaml failed: ServiceAccount "collection-sumologic-setup" is invalid: metadata.labels: Invalid value: "sumologic-2.1.0-rc.0-3-g5482116e84c5075b589a504f61f0f204a15a61e8": must be no more than 63 characters

use only 10 SHA characters in dev version instead of 40.

@pmalek-sumo pmalek-sumo enabled auto-merge (rebase) March 25, 2021 12:38
@pmalek-sumo pmalek-sumo merged commit 66d89c0 into main Mar 25, 2021
@pmalek-sumo pmalek-sumo deleted the ci-dev-build-use-10-sha-characters branch March 25, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants