-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
configs/encryption-config.yaml is missing #768
Comments
Looks like it was removed here: a9cb5f7#diff-404b56b95be0b6ab7483e7e18d8941ca7e9b472842d844874d25b97ed14b2b2dL19-L32 For anyone also doing this right now, this was the old content of the file:
|
You have coulde to use this part https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/1.21.0/docs/06-data-encryption-keys.md#the-encryption-config-file You need to create a file yourself |
@Stabalmo The provided command uses envsubst to create encryption-config.yaml using configs/encryption-config.yaml. The file is not present in configs. As @JanoschDeurer stated, the instruction to create encryption-config.yaml was changed from a heredoc to using envsubst to copy configs/encryption-config.yaml to encryption-config.yaml using while replacing ${ENCRYPTION_KEY} with the value assigned from the previous command. I think the encryption-config.yaml file should already be in the configs directory from the git repo or the instruction to create it should be added back in as a preceeding step and changing the output to the config directory instead of the current directory. At line 17, add:
|
RCAIt seems like the file was removed because it was added in In recent #767 while moving to arm64 the actual kubernetes-the-hard-way/.gitignore Line 11 in a9cb5f7
SolutionI have created the PR #780 to address this issue by adding the |
Thanks for this one. However mine did not work and needed to be written like this: |
I findally got it worked with this content for version v1.28: kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
resources:
- resources:
- secrets
providers:
- aescbc:
keys:
- name: key1
secret: ${ENCRYPTION_KEY}
- identity: {} the important changes are those: |
configs/encryption-config.yaml is missing
The text was updated successfully, but these errors were encountered: