Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove security scan triggering test cert-data #470

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions phase/get_kubeconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ func fakeReader(h *cluster.Host) (string, error) {
return strings.ReplaceAll(`apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURBRENDQWVpZ0F3SUJBZ0lVVDh1ejlwZ0kwdTMrZHJpbm1YKzJyejc5VnNJd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0dERVdNQlFHQTFVRUF4TU5hM1ZpWlhKdVpYUmxjeTFqWVRBZUZ3MHlNekF5TWpNeE16SXhNREJhRncwegpNekF5TWpBeE16SXhNREJhTUJneEZqQVVCZ05WQkFNVERXdDFZbVZ5Ym1WMFpYTXRZMkV3Z2dFaU1BMEdDU3FHClNJYjNEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUURXaGNndUxVMzFoMDAveTdSVis3d1dFZjB6OElhWUxtK00KTXBaeUh5RnQ0UHFKeEluT2h4a3paKzV1d2VvL1hMWDdWZlFJUFdIUng0bGluMkVTY0FaeWR4Qyt3UFZJenEzeQpWbnEvS0lLRFFJb2tFWHNKOUFpWUFLTkdWNXlBWHllQVNRTFZwK2RPMXAxd2d5OFlhTmJRK3RvZ3BTTzZFcjlNClJWMzVpbFNQazJ5Rm1saVhXblU4UUVJTkwya2FhRUdvdzhpOXBkc3p1RGdLbStLNEJGOExkTklIK2VvMklESGIKS1Rpa25vaDc5dEtOMGhWcUs0Q2srST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