Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
norshtein committed Apr 16, 2024
1 parent ec94307 commit ae8a20b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions pkg/agent/baker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1328,14 +1328,16 @@ oom_score = 0
},
}
}, nil),
Entry("AKSUbuntu2204 IMDSRestriction with enable restriction and insert to mangle table", "AKSUbuntu2204+IMDSRestrictionOnWithMangleTable", "1.24.2", func(config *datamodel.NodeBootstrappingConfiguration) {
config.EnableIMDSRestriction = true
config.InsertIMDSRestrictionRuleToMangleTable = true
}, nil),
Entry("AKSUbuntu2204 IMDSRestriction with enable restriction and not insert to mangle table", "AKSUbuntu2204+IMDSRestrictionOnWithFilterTable", "1.24.2", func(config *datamodel.NodeBootstrappingConfiguration) {
config.EnableIMDSRestriction = true
config.InsertIMDSRestrictionRuleToMangleTable = false
}, nil),
Entry("AKSUbuntu2204 IMDSRestriction with enable restriction and insert to mangle table", "AKSUbuntu2204+IMDSRestrictionOnWithMangleTable", "1.24.2",
func(config *datamodel.NodeBootstrappingConfiguration) {
config.EnableIMDSRestriction = true
config.InsertIMDSRestrictionRuleToMangleTable = true
}, nil),
Entry("AKSUbuntu2204 IMDSRestriction with enable restriction and not insert to mangle table", "AKSUbuntu2204+IMDSRestrictionOnWithFilterTable", "1.24.2",
func(config *datamodel.NodeBootstrappingConfiguration) {
config.EnableIMDSRestriction = true
config.InsertIMDSRestrictionRuleToMangleTable = false
}, nil),
Entry("AKSUbuntu2204 IMDSRestriction with disable restriction", "AKSUbuntu2204+IMDSRestrictionOff", "1.24.2", func(config *datamodel.NodeBootstrappingConfiguration) {
config.EnableIMDSRestriction = false
}, nil),
Expand Down

0 comments on commit ae8a20b

Please sign in to comment.