Skip to content

Commit 71a332d

Browse files
committed
Remove version config
1 parent b5d19aa commit 71a332d

File tree

4 files changed

+0
-59
lines changed

4 files changed

+0
-59
lines changed

internal/mode/static/nginx/config/generator.go

-8
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ const (
4747
// streamConfigFile is the path to the configuration file with Stream configuration.
4848
streamConfigFile = streamFolder + "/stream.conf"
4949

50-
// configVersionFile is the path to the config version configuration file.
51-
configVersionFile = httpFolder + "/config-version.conf"
52-
5350
// httpMatchVarsFile is the path to the http_match pairs configuration file.
5451
httpMatchVarsFile = httpFolder + "/matches.json"
5552

@@ -60,10 +57,6 @@ const (
6057
mgmtIncludesFile = mainIncludesFolder + "/mgmt.conf"
6158
)
6259

63-
// ConfigFolders is a list of folders where NGINX configuration files are stored.
64-
// Volumes here also need to be added to our crossplane ephemeral test container.
65-
var ConfigFolders = []string{httpFolder, secretsFolder, includesFolder, mainIncludesFolder, streamFolder}
66-
6760
// Generator generates NGINX configuration files.
6861
// This interface is used for testing purposes only.
6962
type Generator interface {
@@ -198,7 +191,6 @@ func (g GeneratorImpl) getExecuteFuncs(
198191
g.executeStreamServers,
199192
g.executeStreamUpstreams,
200193
executeStreamMaps,
201-
executeVersion,
202194
}
203195
}
204196

internal/mode/static/nginx/config/version.go

-19
This file was deleted.

internal/mode/static/nginx/config/version_template.go

-12
This file was deleted.

internal/mode/static/nginx/config/version_test.go

-20
This file was deleted.

0 commit comments

Comments
 (0)