From c8ca693dfe450d73702dbf5783b06e85cd6b7cc3 Mon Sep 17 00:00:00 2001 From: jlandowner Date: Sun, 19 Nov 2023 02:45:20 +0900 Subject: [PATCH] Update example to use fixed values --- example/remote/README.md | 30 +++++++++++++++++++ .../remote/__snapshots__/cilium.values.snap | 16 +++++----- example/remote/cilium.values.yaml | 23 ++++++++++++++ 3 files changed, 61 insertions(+), 8 deletions(-) diff --git a/example/remote/README.md b/example/remote/README.md index f8a7366..490e648 100644 --- a/example/remote/README.md +++ b/example/remote/README.md @@ -57,4 +57,34 @@ Do snapshot 📸 ```sh helm chartsnap -c cilium -f cilium.values.yaml -- --repo https://helm.cilium.io --namespace kube-system +``` + +However probably you will see the failure that does not match the snapshot of the certificate in Secrets. + +Then add the followings to the value file and re-run the snapshot. + +```yaml +# Change to fixed values +testSpec: + dynamicFields: + - apiVersion: v1 + kind: Secret + name: cilium-ca + jsonPath: + - /data/ca.crt + - /data/ca.key + - apiVersion: v1 + kind: Secret + name: hubble-relay-client-certs + jsonPath: + - /data/ca.crt + - /data/tls.crt + - /data/tls.key + - apiVersion: v1 + kind: Secret + name: hubble-server-certs + jsonPath: + - /data/ca.crt + - /data/tls.crt + - /data/tls.key ``` \ No newline at end of file diff --git a/example/remote/__snapshots__/cilium.values.snap b/example/remote/__snapshots__/cilium.values.snap index 22839ab..1d2652a 100644 --- a/example/remote/__snapshots__/cilium.values.snap +++ b/example/remote/__snapshots__/cilium.values.snap @@ -1254,8 +1254,8 @@ SnapShot = """ - object: apiVersion: v1 data: - ca.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURGRENDQWZ5Z0F3SUJBZ0lSQUlyZXRMN0s3Y2JicEJHVG9jNkFSdkV3RFFZSktvWklodmNOQVFFTEJRQXcKRkRFU01CQUdBMVVFQXhNSlEybHNhWFZ0SUVOQk1CNFhEVEl6TVRFeE5qRTRNelF6TVZvWERUSTJNVEV4TlRFNApNelF6TVZvd0ZERVNNQkFHQTFVRUF4T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blRIbFUzdVV6NE50dHdVQ2dZRUFob0IvTFpLTVJVODQrRFRBY2x2NWRXTHNINVpxRUlKYXEydGUKYVlqMXd3L0dtdXFyZGZuMWdHOWJPUno5dExFNGVSb3Zad2NoYWd0c0Q0VzFFWHRiS1BjUkxyL0xJUDBIR2cvWApFcnh1czVzMlREN2FxS2FGc2Z4V1c1c296d2JjRHJqTFd5dWs0WkpsUGxqcm5SRThpUFVIZzEvd0x1WnB5bDBPCnNQY1htTmNDZ1lFQWdTcEs0SGU2eGJscjRIMVQxYm5VNWRWQXBkMDJRYUhaU25HdnBPVW9oUVJTamVIWkp1REEKdW1rSzhtYXZPMHlGNEFWREhpMm1KTXhKRFYxMkNhMDRUWDhtSkdVd2wweGhDang1M21ySVNpRXpQUHlHeHpFQQpJcDhWK29TSWRYdkl3YXlpaTI0bHBjdTYxNVFNNWNzbVVsRXcxbmdSSnlKYjNHUTY0dzRRN3lzPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo= + ca.crt: '###DYNAMIC_FIELD###' + tls.crt: '###DYNAMIC_FIELD###' + tls.key: '###DYNAMIC_FIELD###' kind: Secret metadata: name: hubble-relay-client-certs @@ -1274,9 +1274,9 @@ SnapShot = """ - object: apiVersion: v1 data: - ca.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURGRENDQWZ5Z0F3SUJBZ0lSQUlyZXRMN0s3Y2JicEJHVG9jNkFSdkV3RFFZSktvWklodmNOQVFFTEJRQXcKRkRFU01CQUdBMVVFQXhNSlEybHNhWFZ0SUVOQk1CNFhEVEl6TVRFeE5qRTRNelF6TVZvWERUSTJNVEV4TlRFNApNelF6TVZvd0ZERVNNQkFHQTFVRUF4TUpRMmxzYVhWdElFTkJNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DCkFROEFNSUlCQ2dLQ0FRRUF4aEVSRkhkVHpWTHdIOU9FNjhoV2plSC9uQ2FxL0oyeEJkT1l4OXl6Rkt0cF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t4eEJPbnJCMENnWUFGZ2dZOFp5TVgzdEFtd1hpSVJ5NEYKbDRxRmRaTVhXMnQrNWJsaGRhYXVzKzNVeWpHWEFZMzNuQlM0RmZLQjhwam1Mald3dndYKzlhN2t3eGZKMUF3aApyaGdUYUd3NGZYR0Z2dFNPZjIvS2xuN0EwNmI5R2l4dDdXRWUyRmJHTThNMDYxSy9pUk9hMGJWUnFab3hwZ2poCnl1eDcrUDlTditnN1E0OWp4QmI1dVFLQmdRQ1QwMFZaM1BiaGZad0ZxNCs4Q1oveDVKV0M5ZkNHcHo2Q1lCRXQKUXJTci9Wb1lQQlVqNkFnQ0VjWDh2R3pjOFI4S3ZRUXpxWUY1SjhjMm1QRE04WFc5aHhsZ29OaVJXWThYUVhpdApmWVhUcXVNdW5tYlZKU3hHcmF5QURTZGNwVkZVemR0OXcrak9kNFB1UzduWDV0Snc4TExaMUR6UUlvdVNWV0dpCkdOd0J6UUtCZ0hqcEpkdnZWaTdpMk9KempwK2l6emdyU0l1dzFValYxS2dQb1ozNGNIZkF5RTE2T1FYMEEvNWoKSUZINUM4LzMrMVY3U1NYd1c1ZGtCc0pBdWVQS0hPZG43R1dWMUJRMTF1bmtxank0dFpteGRkZVNTSFoycHcyegp4U015V0pKaVVXQ0ttRFZWTmszenhLV2U5ZWRuQW91ZW5LeW5jNDJiSlVzS29GN210ZlQ1Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg== + ca.crt: '###DYNAMIC_FIELD###' + tls.crt: '###DYNAMIC_FIELD###' + tls.key: '###DYNAMIC_FIELD###' kind: Secret metadata: name: hubble-server-certs diff --git a/example/remote/cilium.values.yaml b/example/remote/cilium.values.yaml index 822dd25..ab8a29c 100644 --- a/example/remote/cilium.values.yaml +++ b/example/remote/cilium.values.yaml @@ -1,3 +1,26 @@ +testSpec: + dynamicFields: + - apiVersion: v1 + kind: Secret + name: cilium-ca + jsonPath: + - /data/ca.crt + - /data/ca.key + - apiVersion: v1 + kind: Secret + name: hubble-relay-client-certs + jsonPath: + - /data/ca.crt + - /data/tls.crt + - /data/tls.key + - apiVersion: v1 + kind: Secret + name: hubble-server-certs + jsonPath: + - /data/ca.crt + - /data/tls.crt + - /data/tls.key + # https://docs.cilium.io/en/stable/installation/k8s-install-helm/ # EKS