Skip to content

Commit

Permalink
fix:model changes for service account
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayk committed Nov 16, 2022
1 parent 88df685 commit 2874218
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions pkg/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2874218

Please sign in to comment.