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

Fix double-encoding of Kubernetes secrets #6541

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Conversation

rynowak
Copy link
Contributor

@rynowak rynowak commented Oct 20, 2023

Description

This change removes manual encoding from our interactions with secret.Data, which should address the double-encoding issue.

The problem here was a wrong assumption about the way secret.Data works in the Go Kubernetes client. This link documents the actual behavior: https://github.com/weibeld/kubernetes-client-go-examples/blob/master/README.md#ex5-secrets

I had a hint that something was wrong here while I was writing the code, but I wrongly assumed it was a quirk of the envtest library. The right behavior is to store the decoded value in secret.Data. Therefore the fix is to remove all of the places we encode data before storing it.

Type of change

  • This pull request fixes a bug in Radius and has an approved issue (issue link required).

Fixes: #6540

Auto-generated summary

🤖 Generated by Copilot at 359f241

Summary

🐛🧹🚀

This pull request refactors and fixes the reconciler package, which handles the creation and update of Kubernetes deployments and secrets based on recipes. It removes unnecessary imports, encoding, and complexity from the code and the tests.

Sing, O Muse, of the valiant code warriors who strove
To mend the broken tests and reconcile the secrets
That vexed the deployment function with double encoding
And cluttered the package with imports that served no purpose

Walkthrough

  • Remove unused imports of encoding/base64 package from reconciler package in deployment_reconciler.go, deployment_reconciler_test.go, recipe_reconciler.go, and recipe_reconciler_test.go (link, link, link, link)
  • Simplify logic of updateDeployment and updateSecret functions by removing unnecessary encoding of secret values using base64 package in deployment_reconciler.go and recipe_reconciler.go (link, link, link)
  • Add comment to explain why updateDeployment function uses Data field of Secret object instead of StringData field in deployment_reconciler.go (link)
  • Update expected secret data in tests to match new logic of updateDeployment and updateSecret functions in deployment_reconciler_test.go and recipe_reconciler_test.go (link, link, link)

Fixes: #6540

This change removes manual encoding from our interactions with `secret.Data`, which should address the double-encoding issue.

The problem here was a wrong assumption about the way `secret.Data` works in the Go Kubernetes client. This link documents the actual behavior: https://github.com/weibeld/kubernetes-client-go-examples/blob/master/README.md#ex5-secrets

I had a hint that something was wrong here while I was writing the code, but I wrongly assumed it was a quirk of the envtest library. The right behavior is to store the **decoded** value in `secret.Data`. Therefore the fix is to remove all of the places we encode data before storing it.
@rynowak rynowak requested review from a team as code owners October 20, 2023 22:44
@rynowak
Copy link
Contributor Author

rynowak commented Oct 20, 2023

/ok-to-test

@github-actions
Copy link

github-actions bot commented Oct 20, 2023

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 359f241
Unique ID 84687171a2
Image tag pr-84687171a2
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.11.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/functional/shared/recipes/<name>:pr-84687171a2
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-84687171a2
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-84687171a2
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-84687171a2
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting datastoresrp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting samples functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting shared functional tests...
⌛ Starting ucp functional tests...
✅ datastoresrp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ msgrp functional tests succeeded
✅ samples functional tests succeeded
✅ daprrp functional tests succeeded
✅ ucp functional tests succeeded
❌ shared functional test failed. Please check the logs for more details

@github-actions
Copy link

Test Results

3 022 tests  ±0   3 010 ✔️ ±0   3m 8s ⏱️ -27s
   256 suites ±0        12 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 3b17f90. ± Comparison against base commit ecfaaf3.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
github.com/radius-project/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/b567c598-de20-4573-814c-b20478fbf6aa
github.com/radius-project/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/b567c598-de20-4573-814c-b20478fbf6aa#01
github.com/radius-project/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/73656929-07ec-4354-9de3-a49799a73a1f
github.com/radius-project/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/73656929-07ec-4354-9de3-a49799a73a1f#01

@github-actions
Copy link

65.3

For the detailed report, please go to Checks tab, click Build and Test, and then download unit_test_coverage artifact at the bottom of build page.

  • Your PR branch coverage: 65.3 %
  • main branch coverage: 65.3 %
  • diff coverage: 0 %

The coverage result does not include the functional test coverage.

@rynowak
Copy link
Contributor Author

rynowak commented Oct 20, 2023

Functional test failure was the known S3 issue.

@rynowak rynowak merged commit bf4e6bb into main Oct 20, 2023
16 checks passed
@rynowak rynowak deleted the rynowak/fix-kubernetes-secret branch October 20, 2023 23:21
willdavsmith pushed a commit that referenced this pull request Oct 23, 2023
# Description

This change removes manual encoding from our interactions with
`secret.Data`, which should address the double-encoding issue.

The problem here was a wrong assumption about the way `secret.Data`
works in the Go Kubernetes client. This link documents the actual
behavior:
https://github.com/weibeld/kubernetes-client-go-examples/blob/master/README.md#ex5-secrets

I had a hint that something was wrong here while I was writing the code,
but I wrongly assumed it was a quirk of the envtest library. The right
behavior is to store the **decoded** value in `secret.Data`. Therefore
the fix is to remove all of the places we encode data before storing it.

## Type of change

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).

Fixes: #6540

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 359f241</samp>

### Summary
🐛🧹🚀

<!--
1. 🐛 - This emoji represents a bug fix, which is the main purpose of the
first pull request. It shows that the test failure was resolved and the
unused import was removed.
2. 🧹 - This emoji represents a code cleanup or refactoring, which is the
main purpose of the second pull request. It shows that the code was
simplified, commented, and improved.
3. 🚀 - This emoji represents a performance improvement or optimization,
which is the main purpose of the third pull request. It shows that the
secret handling logic was made more efficient and correct.
-->
This pull request refactors and fixes the `reconciler` package, which
handles the creation and update of Kubernetes deployments and secrets
based on recipes. It removes unnecessary imports, encoding, and
complexity from the code and the tests.

> _Sing, O Muse, of the valiant code warriors who strove_
> _To mend the broken tests and reconcile the secrets_
> _That vexed the deployment function with double encoding_
> _And cluttered the package with imports that served no purpose_

### Walkthrough
* Remove unused imports of `encoding/base64` package from `reconciler`
package in `deployment_reconciler.go`, `deployment_reconciler_test.go`,
`recipe_reconciler.go`, and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL20),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL20))
* Simplify logic of `updateDeployment` and `updateSecret` functions by
removing unnecessary encoding of secret values using `base64` package in
`deployment_reconciler.go` and `recipe_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L556-R558),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L506-R505),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L517-R515))
* Add comment to explain why `updateDeployment` function uses `Data`
field of `Secret` object instead of `StringData` field in
`deployment_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195R519-R520))
* Update expected secret data in tests to match new logic of
`updateDeployment` and `updateSecret` functions in
`deployment_reconciler_test.go` and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL369-R371),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL415-R415),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL306-R306))

(cherry picked from commit bf4e6bb)
willdavsmith pushed a commit that referenced this pull request Oct 23, 2023
# Description

This change removes manual encoding from our interactions with
`secret.Data`, which should address the double-encoding issue.

The problem here was a wrong assumption about the way `secret.Data`
works in the Go Kubernetes client. This link documents the actual
behavior:
https://github.com/weibeld/kubernetes-client-go-examples/blob/master/README.md#ex5-secrets

I had a hint that something was wrong here while I was writing the code,
but I wrongly assumed it was a quirk of the envtest library. The right
behavior is to store the **decoded** value in `secret.Data`. Therefore
the fix is to remove all of the places we encode data before storing it.

## Type of change

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).

Fixes: #6540

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 359f241</samp>

### Summary
🐛🧹🚀

<!--
1. 🐛 - This emoji represents a bug fix, which is the main purpose of the
first pull request. It shows that the test failure was resolved and the
unused import was removed.
2. 🧹 - This emoji represents a code cleanup or refactoring, which is the
main purpose of the second pull request. It shows that the code was
simplified, commented, and improved.
3. 🚀 - This emoji represents a performance improvement or optimization,
which is the main purpose of the third pull request. It shows that the
secret handling logic was made more efficient and correct.
-->
This pull request refactors and fixes the `reconciler` package, which
handles the creation and update of Kubernetes deployments and secrets
based on recipes. It removes unnecessary imports, encoding, and
complexity from the code and the tests.

> _Sing, O Muse, of the valiant code warriors who strove_
> _To mend the broken tests and reconcile the secrets_
> _That vexed the deployment function with double encoding_
> _And cluttered the package with imports that served no purpose_

### Walkthrough
* Remove unused imports of `encoding/base64` package from `reconciler`
package in `deployment_reconciler.go`, `deployment_reconciler_test.go`,
`recipe_reconciler.go`, and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL20),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL20))
* Simplify logic of `updateDeployment` and `updateSecret` functions by
removing unnecessary encoding of secret values using `base64` package in
`deployment_reconciler.go` and `recipe_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L556-R558),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L506-R505),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L517-R515))
* Add comment to explain why `updateDeployment` function uses `Data`
field of `Secret` object instead of `StringData` field in
`deployment_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195R519-R520))
* Update expected secret data in tests to match new logic of
`updateDeployment` and `updateSecret` functions in
`deployment_reconciler_test.go` and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL369-R371),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL415-R415),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL306-R306))

(cherry picked from commit bf4e6bb)
willdavsmith pushed a commit to willdavsmith/radius that referenced this pull request Nov 3, 2023
# Description

This change removes manual encoding from our interactions with
`secret.Data`, which should address the double-encoding issue.

The problem here was a wrong assumption about the way `secret.Data`
works in the Go Kubernetes client. This link documents the actual
behavior:
https://github.com/weibeld/kubernetes-client-go-examples/blob/master/README.md#ex5-secrets

I had a hint that something was wrong here while I was writing the code,
but I wrongly assumed it was a quirk of the envtest library. The right
behavior is to store the **decoded** value in `secret.Data`. Therefore
the fix is to remove all of the places we encode data before storing it.

## Type of change

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).

Fixes: radius-project#6540

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 359f241</samp>

### Summary
🐛🧹🚀

<!--
1. 🐛 - This emoji represents a bug fix, which is the main purpose of the
first pull request. It shows that the test failure was resolved and the
unused import was removed.
2. 🧹 - This emoji represents a code cleanup or refactoring, which is the
main purpose of the second pull request. It shows that the code was
simplified, commented, and improved.
3. 🚀 - This emoji represents a performance improvement or optimization,
which is the main purpose of the third pull request. It shows that the
secret handling logic was made more efficient and correct.
-->
This pull request refactors and fixes the `reconciler` package, which
handles the creation and update of Kubernetes deployments and secrets
based on recipes. It removes unnecessary imports, encoding, and
complexity from the code and the tests.

> _Sing, O Muse, of the valiant code warriors who strove_
> _To mend the broken tests and reconcile the secrets_
> _That vexed the deployment function with double encoding_
> _And cluttered the package with imports that served no purpose_

### Walkthrough
* Remove unused imports of `encoding/base64` package from `reconciler`
package in `deployment_reconciler.go`, `deployment_reconciler_test.go`,
`recipe_reconciler.go`, and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL20),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL20))
* Simplify logic of `updateDeployment` and `updateSecret` functions by
removing unnecessary encoding of secret values using `base64` package in
`deployment_reconciler.go` and `recipe_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L556-R558),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L506-R505),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L517-R515))
* Add comment to explain why `updateDeployment` function uses `Data`
field of `Secret` object instead of `StringData` field in
`deployment_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195R519-R520))
* Update expected secret data in tests to match new logic of
`updateDeployment` and `updateSecret` functions in
`deployment_reconciler_test.go` and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL369-R371),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL415-R415),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL306-R306))

Signed-off-by: willdavsmith <[email protected]>
willdavsmith pushed a commit that referenced this pull request Nov 6, 2023
# Description

This change removes manual encoding from our interactions with
`secret.Data`, which should address the double-encoding issue.

The problem here was a wrong assumption about the way `secret.Data`
works in the Go Kubernetes client. This link documents the actual
behavior:
https://github.com/weibeld/kubernetes-client-go-examples/blob/master/README.md#ex5-secrets

I had a hint that something was wrong here while I was writing the code,
but I wrongly assumed it was a quirk of the envtest library. The right
behavior is to store the **decoded** value in `secret.Data`. Therefore
the fix is to remove all of the places we encode data before storing it.

## Type of change

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).

Fixes: #6540

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 359f241</samp>

### Summary
🐛🧹🚀

<!--
1. 🐛 - This emoji represents a bug fix, which is the main purpose of the
first pull request. It shows that the test failure was resolved and the
unused import was removed.
2. 🧹 - This emoji represents a code cleanup or refactoring, which is the
main purpose of the second pull request. It shows that the code was
simplified, commented, and improved.
3. 🚀 - This emoji represents a performance improvement or optimization,
which is the main purpose of the third pull request. It shows that the
secret handling logic was made more efficient and correct.
-->
This pull request refactors and fixes the `reconciler` package, which
handles the creation and update of Kubernetes deployments and secrets
based on recipes. It removes unnecessary imports, encoding, and
complexity from the code and the tests.

> _Sing, O Muse, of the valiant code warriors who strove_
> _To mend the broken tests and reconcile the secrets_
> _That vexed the deployment function with double encoding_
> _And cluttered the package with imports that served no purpose_

### Walkthrough
* Remove unused imports of `encoding/base64` package from `reconciler`
package in `deployment_reconciler.go`, `deployment_reconciler_test.go`,
`recipe_reconciler.go`, and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL20),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L21),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL20))
* Simplify logic of `updateDeployment` and `updateSecret` functions by
removing unnecessary encoding of secret values using `base64` package in
`deployment_reconciler.go` and `recipe_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195L556-R558),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L506-R505),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-565f9bf43f08d107a3218cdeb8b17eab13363d0661a65535e80ec4ef114f09e5L517-R515))
* Add comment to explain why `updateDeployment` function uses `Data`
field of `Secret` object instead of `StringData` field in
`deployment_reconciler.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-87a7dfa06c174a6b41b671b2cfffb84c81e481881baec866a026e7dd00db8195R519-R520))
* Update expected secret data in tests to match new logic of
`updateDeployment` and `updateSecret` functions in
`deployment_reconciler_test.go` and `recipe_reconciler_test.go`
([link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL369-R371),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-9d66db7eb311e875d019923b0892c9b51b9520295624cc0b6a0197cdbd04527cL415-R415),
[link](https://github.com/radius-project/radius/pull/6541/files?diff=unified&w=0#diff-2b3aa3c5be32be791c9069d44213d653090aed157026f3d37f187ccded049cacL306-R306))

Signed-off-by: willdavsmith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connection values created by Radius controller are double-encoded.
4 participants