-
Notifications
You must be signed in to change notification settings - Fork 62
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
aescbcEncryptionSecret not present to machine config #1169
Comments
this depends on It should be set at the moment of the cluster creation to the value matching initial installed Talos version. |
Wow, i continue upgrade that parameter too..., my fault probably |
@smira downed to 1.2, aescbcEncryptionSecret: still not coming to talos machine config |
I'm not quite sure what you mean by that.
Upgrade to 1.2 from what version? AES-CBC secret was replaced with SecretBox in the new versions of Talos, both are supported on upgrade, but Talos >=1.3 doesn't generate AES-CBC by default unless instructed to do so by |
No i mean, when i add talosVersion: 1.1, or 1.2, it doesn't provide aescbcEncryptionSecret in machine config |
I can't reproduce that: $ talosctl gen config foo https://127.0.0.1:6443/ --talos-version=v1.2 --output-types controlplane -o - | grep aes
generating PKI and tokens
# # cipher: aes-xts-plain64
aescbcEncryptionSecret: EYBoQvtXWbRK4kVZhXn2qVzjs95+rWhNbMCCrTIpSjY= # A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/). vs. talosctl gen config foo https://127.0.0.1:6443/ --force --output-types controlplane -o - | grep aes
generating PKI and tokens
# # cipher: aes-xts-plain64
# aescbcEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM= |
@smira i mean when you have pxe boot always for example, or you reset the node from withing sidero, how could i have system booted up to talos 1.3.7 for example with config for prior verision |
The config generation process happens in the CABPT provider, and it's driven by the The question whether the machine config has or doesn't have some field is completely defined by the CABPT. |
aescbcEncryptionSecret missing when maintaining pre 1.3 clusters.
The text was updated successfully, but these errors were encountered: