Resolution

Helm and Kubernetes: How to resolve Helm upgrade –install error “create: failed to create: the server responded with the status code 413 but did not return more information (post secrets)”

AuthorFullName__c
Ino Choi
articleNumber
000005621
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-14T09:50:05Z
lastModifiedDate
2023-03-15T08:44:56Z
VersionNumber
2
To resolve this issue, you can either move unused files (e.g. from the above files list, you can remove old yaml files, large files like describe.txt that’s not needed for deployment) out of the Chart directory or use the .helmignore file. The .helmignore file is in the Chart root directory. You can create one if it’s not there already. Here is an example of the .helmignore file,
# Match any file or path named .helmignore
.helmignore
# Match any file or path named .git
.git

# Match any text file
*.txt

# Match only directories named mydir
mydir/

# Match only text files in the top-level directory
/*.txt

# Match only the file foo.txt in the top-level directory
/foo.txt

# Match any file named ab.txt, ac.txt, or ad.txt
a[b-d].txt

# Match any file under subdir matching temp*
*/temp*
*/*/temp*
temp?

With this file specified in the Chart directory, Helm will ignore all the files that match the pattern specified in the file while packaging your application.