Skip to content

Commit

Permalink
Remove version config
Browse files Browse the repository at this point in the history
  • Loading branch information
sjberman committed Dec 26, 2024
1 parent b5d19aa commit 71a332d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 59 deletions.
8 changes: 0 additions & 8 deletions internal/mode/static/nginx/config/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ const (
// streamConfigFile is the path to the configuration file with Stream configuration.
streamConfigFile = streamFolder + "/stream.conf"

// configVersionFile is the path to the config version configuration file.
configVersionFile = httpFolder + "/config-version.conf"

// httpMatchVarsFile is the path to the http_match pairs configuration file.
httpMatchVarsFile = httpFolder + "/matches.json"

Expand All @@ -60,10 +57,6 @@ const (
mgmtIncludesFile = mainIncludesFolder + "/mgmt.conf"
)

// ConfigFolders is a list of folders where NGINX configuration files are stored.
// Volumes here also need to be added to our crossplane ephemeral test container.
var ConfigFolders = []string{httpFolder, secretsFolder, includesFolder, mainIncludesFolder, streamFolder}

// Generator generates NGINX configuration files.
// This interface is used for testing purposes only.
type Generator interface {
Expand Down Expand Up @@ -198,7 +191,6 @@ func (g GeneratorImpl) getExecuteFuncs(
g.executeStreamServers,
g.executeStreamUpstreams,
executeStreamMaps,
executeVersion,
}
}

Expand Down
19 changes: 0 additions & 19 deletions internal/mode/static/nginx/config/version.go

This file was deleted.

12 changes: 0 additions & 12 deletions internal/mode/static/nginx/config/version_template.go

This file was deleted.

20 changes: 0 additions & 20 deletions internal/mode/static/nginx/config/version_test.go

This file was deleted.

0 comments on commit 71a332d

Please sign in to comment.