-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: move Config to mutate/config.go
- Loading branch information
Showing
4 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
port: 8443 | ||
# change tlsdirpath path accordingly if you change this | ||
tlskeypath: "/tls/key.pem" | ||
ignoreimages: | ||
- registry | ||
- registry.example.com/toto/k8s-proxy-image-swapper | ||
# change tlsdirpath path accordingly if you change this | ||
tlscertpath: "/tls/cert.pem" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package mutate | ||
|
||
type Config struct { | ||
TLSCertPath string `yaml:"tlscertpath"` | ||
TLSKeyPath string `yaml:"tlskeypath"` | ||
Port string `yaml:"port"` | ||
IgnoreImages []string `yaml:"ignoreimages"` | ||
} | ||
|
||
var Configuration Config |