Skip to content

Commit b83eabf

Browse files
committed
Remove version config
1 parent ea3607a commit b83eabf

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
@@ -45,9 +45,6 @@ const (
4545
// streamConfigFile is the path to the configuration file with Stream configuration.
4646
streamConfigFile = streamFolder + "/stream.conf"
4747

48-
// configVersionFile is the path to the config version configuration file.
49-
configVersionFile = httpFolder + "/config-version.conf"
50-
5148
// httpMatchVarsFile is the path to the http_match pairs configuration file.
5249
httpMatchVarsFile = httpFolder + "/matches.json"
5350

@@ -58,10 +55,6 @@ const (
5855
mgmtIncludesFile = mainIncludesFolder + "/mgmt.conf"
5956
)
6057

61-
// ConfigFolders is a list of folders where NGINX configuration files are stored.
62-
// Volumes here also need to be added to our crossplane ephemeral test container.
63-
var ConfigFolders = []string{httpFolder, secretsFolder, includesFolder, mainIncludesFolder, streamFolder}
64-
6558
// Generator generates NGINX configuration files.
6659
// This interface is used for testing purposes only.
6760
type Generator interface {
@@ -189,7 +182,6 @@ func (g GeneratorImpl) getExecuteFuncs(generator policies.Generator) []executeFu
189182
g.executeStreamServers,
190183
g.executeStreamUpstreams,
191184
executeStreamMaps,
192-
executeVersion,
193185
}
194186
}
195187

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)