Browse Source

keep the namespace annotations field in the DB

Mohammed Nafees 3 years ago
parent
commit
526d258b73
1 changed files with 3 additions and 2 deletions
  1. 3 2
      internal/models/environment.go

+ 3 - 2
internal/models/environment.go

@@ -22,8 +22,9 @@ type Environment struct {
 	Name string
 	Mode string
 
-	NewCommentsDisabled bool
-	NamespaceLabels     []byte
+	NewCommentsDisabled  bool
+	NamespaceLabels      []byte
+	NamespaceAnnotations []byte
 
 	// WebhookID uniquely identifies the environment when other fields (project, cluster)
 	// aren't present