We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c64383 commit 9c3cb08Copy full SHA for 9c3cb08
cloudprovider/azure.go
@@ -122,6 +122,11 @@ func (m *CloudProviderAzure) FetchTokens() (tokens []*bootstraptoken.BootstrapTo
122
secretVersion := m.getSecretVersionFromId(*secret.ID)
123
secretLogger := contextLogger.WithField("secretVersion", secretVersion)
124
125
+ if secret.Attributes == nil {
126
+ secretLogger.Debug("ignoring, secret attributes are not set")
127
+ continue
128
+ }
129
+
130
// ignore not enabled
131
if secret.Attributes.Enabled != nil && *secret.Attributes.Enabled == false {
132
secretLogger.Debug("ignoring, secret is disabled")
0 commit comments