Skip to content

Commit

Permalink
use permitted configmap name
Browse files Browse the repository at this point in the history
  • Loading branch information
linki committed Dec 18, 2023
1 parent 541cee0 commit 2d7b387
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/e2e/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ func (f *TestStacksetSpecFactory) Create(stackVersion string) zv1.StackSetSpec {
result.StackTemplate.Spec.ConfigurationResources = []zv1.ConfigurationResourcesSpec{
{
ConfigMapRef: corev1.LocalObjectReference{
Name: "foo-v1-test-configmap",
// ConfigurationResource name must be prefixed by Stack name. ConfigurationResource: foo-v1-test-configmap, Stack: stackset-create-central-configmap-v1
// TODO make stackset name configurable
// TODO create the referenced configmap
Name: fmt.Sprintf("%s-%s-configmap", f.stacksetName, stackVersion),
},
},
}
Expand Down

0 comments on commit 2d7b387

Please sign in to comment.