We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf9dca commit 38fffa6Copy full SHA for 38fffa6
internal/config/config.go
@@ -3,9 +3,9 @@ package config
3
import (
4
"os"
5
6
- "gopkg.in/yaml.v2"
7
corev1 "k8s.io/api/core/v1"
8
"k8s.io/utils/ptr"
+ "sigs.k8s.io/yaml"
9
)
10
11
type Config struct {
@@ -14,8 +14,8 @@ type Config struct {
14
}
15
16
type PodMutator struct {
17
- PatchToPod any `json:"patchToPod"`
18
- PatchToContainer any `json:"patchToContainer"`
+ PatchToPod map[string]any `json:"patchToPod"`
+ PatchToContainer map[string]any `json:"patchToContainer"`
19
20
21
func LoadConfig(filename string) (*Config, error) {
0 commit comments