diff --git a/pkg/model/model.go b/pkg/model/model.go index 3a057b6..fb89657 100644 --- a/pkg/model/model.go +++ b/pkg/model/model.go @@ -20,14 +20,20 @@ type Drifter struct { } type Kubernetes struct { - Namespaces []Namespace `yaml:"namespaces"` - DaemonSets []DaemonSets `yaml:"daemonsets"` - Deployments []Deployments `yaml:"deployments"` - StatefulSets []StatefulSets `yaml:"statefulsets"` - Storage K8sStorage `yaml:"storage"` - Ingress K8sIngress `yaml:"ingress"` - Secrets []Secrets `yaml:"secrets"` - ConfigMaps []ConfigMaps `yaml:"configmaps"` + Namespaces []Namespace `yaml:"namespaces"` + DaemonSets []DaemonSets `yaml:"daemonsets"` + Deployments []Deployments `yaml:"deployments"` + StatefulSets []StatefulSets `yaml:"statefulsets"` + Storage K8sStorage `yaml:"storage"` + Ingress K8sIngress `yaml:"ingress"` + Secrets []Secrets `yaml:"secrets"` + ServiceAccounts []ServiceAccounts `yaml:"serviceAccounts"` + + ConfigMaps []ConfigMaps `yaml:"configmaps"` +} +type ServiceAccounts struct { + NameSpace string `yaml:"namespace"` + Names []string `yaml:"names"` } type ConfigMaps struct {