Skip to content

Commit

Permalink
feat: Allow Confluent-for-Kubernetes types to be transformed (#7179)
Browse files Browse the repository at this point in the history
  • Loading branch information
deedubs authored Mar 10, 2022
1 parent 0d4d765 commit 4316973
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkg/skaffold/kubernetes/manifest/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,36 @@ var TransformAllowlist = map[apimachinery.GroupKind]latestV1.ResourceFilter{
Image: []string{".*"},
Labels: []string{".*"},
},
{Group: "platform.confluent.io", Kind: "Connect"}: {
GroupKind: "Connect.platform.confluent.io",
Image: []string{".spec.image.application", ".spec.image.init"},
Labels: []string{".*"},
},
{Group: "platform.confluent.io", Kind: "ControlCenter"}: {
GroupKind: "ControlCenter.platform.confluent.io",
Image: []string{".spec.image.application", ".spec.image.init"},
Labels: []string{".*"},
},
{Group: "platform.confluent.io", Kind: "Kafka"}: {
GroupKind: "Kafka.platform.confluent.io",
Image: []string{".spec.image.application", ".spec.image.init"},
Labels: []string{".*"},
},
{Group: "platform.confluent.io", Kind: "KsqlDB"}: {
GroupKind: "KsqlDB.platform.confluent.io",
Image: []string{".spec.image.application", ".spec.image.init"},
Labels: []string{".*"},
},
{Group: "platform.confluent.io", Kind: "SchemaRegistry"}: {
GroupKind: "SchemaRegistry.platform.confluent.io",
Image: []string{".spec.image.application", ".spec.image.init"},
Labels: []string{".*"},
},
{Group: "platform.confluent.io", Kind: "Zookeeper"}: {
GroupKind: "Zookeeper.platform.confluent.io",
Image: []string{".spec.image.application", ".spec.image.init"},
Labels: []string{".*"},
},
}

// TransformDenylist is the default denylist on the set of kinds that can be transformed by Skaffold.
Expand Down

0 comments on commit 4316973

Please sign in to comment.