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 20, 2024
1 parent ea3607a commit b83eabf
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 @@ -45,9 +45,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 @@ -58,10 +55,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 @@ -189,7 +182,6 @@ func (g GeneratorImpl) getExecuteFuncs(generator policies.Generator) []executeFu
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 b83eabf

Please sign in to comment.