Skip to content

Commit

Permalink
ingress resource support
Browse files Browse the repository at this point in the history
Signed-off-by: leecalcote <[email protected]>
  • Loading branch information
leecalcote committed Oct 12, 2020
1 parent 3ea5e3f commit 7219204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkerd/linkerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ func (iClient *Client) ApplyOperation(ctx context.Context, arReq *meshes.ApplyRu
}

func (iClient *Client) applyConfigChange(ctx context.Context, deploymentYAML, namespace string, deleteOpts bool) error {
acceptedK8sTypes := regexp.MustCompile(`(Namespace|Role|ClusterRole|RoleBinding|ClusterRoleBinding|ServiceAccount|MutatingWebhookConfiguration|Secret|ValidatingWebhookConfiguration|APIService|PodSecurityPolicy|ConfigMap|Service|Deployment|CronJob|CustomResourceDefinition)`)
acceptedK8sTypes := regexp.MustCompile(`(Namespace|Role|ClusterRole|RoleBinding|ClusterRoleBinding|ServiceAccount|MutatingWebhookConfiguration|Secret|ValidatingWebhookConfiguration|APIService|PodSecurityPolicy|ConfigMap|Service|Deployment|CronJob|CustomResourceDefinition|Ingress)`)
sepYamlfiles := strings.Split(deploymentYAML, "\n---\n")
mappingNamespace := &meta.RESTMapping{}
dataNamespace := &unstructured.Unstructured{}
Expand Down

0 comments on commit 7219204

Please sign in to comment.