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

OADP-1057: AWS STS Creds support for internal image backup #199

Merged
merged 9 commits into from Aug 22, 2023

Conversation

kaovilai
Copy link
Member

@kaovilai kaovilai commented Jul 12, 2023

⏯️ Testing instructions 🏈

TODO:

test image

ghcr.io/kaovilai/openshift-velero-plugin:sts

dpa

apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
  name: dpa-sample
spec:
  unsupportedOverrides:
    openshiftPluginImageFqin: ghcr.io/kaovilai/openshift-velero-plugin:sts

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 12, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 12, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 12, 2023
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

remove pod backup plugin from main.go
… UID when copying

Resolves
```
 > [builder 6/6] RUN go build -installsuffix "static" -tags "containers_image_ostree_stub exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp exclude_graphdriver_overlay include_gcs include_oss" -o _output/velero-plugins ./velero-plugins:
#0 4.584 error obtaining VCS status: exit status 128
#0 4.584        Use -buildvcs=false to disable VCS stamping.
```

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
go.mod Outdated Show resolved Hide resolved
@kaovilai kaovilai force-pushed the aws-sts-registry branch 2 times, most recently from ab0d402 to cf88caf Compare July 21, 2023 05:31
@kaovilai
Copy link
Member Author

/test all

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@kaovilai
Copy link
Member Author

Did some sanity testing. The changes work as intended. Marking ready for review.

@kaovilai kaovilai marked this pull request as ready for review July 24, 2023 18:44
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 24, 2023
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@kaovilai kaovilai changed the title AWS STS Creds support for internal image backup OADP-1057: AWS STS Creds support for internal image backup Jul 24, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jul 24, 2023

@kaovilai: This pull request references OADP-1057 which is a valid jira issue.

In response to this:

TODO:

  • remove replace github.com/vmware-tanzu/velero v1.11.0 => github.com/kaovilai/velero v0000- // TODO: remove when https://github.com/openshift/velero/pull/279 is merged
  • Update secret handling to support new field

test image

ghcr.io/kaovilai/openshift-velero-plugin:sts

dpa

apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
 name: dpa-sample
spec:
 unsupportedOverrides:
   openshiftPluginImageFqin: ghcr.io/kaovilai/openshift-velero-plugin:sts

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 24, 2023
@weshayutin
Copy link
Contributor

w/ backupImages: true
w/ patch:

https://termbin.com/0h91

[whayutin@thinkdoe ROSA]$ velero backup get hello-world-patch2 
NAME                 STATUS      ERRORS   WARNINGS   CREATED                         EXPIRES   STORAGE LOCATION     SELECTOR
hello-world-patch2   Completed   0        0          2023-07-24 18:38:14 +0000 UTC   29d       wdh07052023d-dpa-1   <none>
[whayutin@thinkdoe ROSA]$ oc get dpa -o yaml | grep -i image
    backupImages: true
      openshiftPluginImageFqin: ghcr.io/kaovilai/openshift-velero-plugin:sts

@kaovilai
Copy link
Member Author

/hold for 1.2.2

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 24, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 11, 2023

@kaovilai: This pull request references OADP-1057 which is a valid jira issue.

In response to this:

Testing instructions

TODO:

  • remove replace github.com/vmware-tanzu/velero v1.11.0 => github.com/kaovilai/velero v0000- // TODO: remove when https://github.com/openshift/velero/pull/279 is merged
  • Update secret handling to support new field

test image

ghcr.io/kaovilai/openshift-velero-plugin:sts

dpa

apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
 name: dpa-sample
spec:
 unsupportedOverrides:
   openshiftPluginImageFqin: ghcr.io/kaovilai/openshift-velero-plugin:sts

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 11, 2023

@kaovilai: This pull request references OADP-1057 which is a valid jira issue.

In response to this:

⏯️ Testing instructions 🏈

TODO:

  • remove replace github.com/vmware-tanzu/velero v1.11.0 => github.com/kaovilai/velero v0000- // TODO: remove when https://github.com/openshift/velero/pull/279 is merged
  • Update secret handling to support new field

test image

ghcr.io/kaovilai/openshift-velero-plugin:sts

dpa

apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
 name: dpa-sample
spec:
 unsupportedOverrides:
   openshiftPluginImageFqin: ghcr.io/kaovilai/openshift-velero-plugin:sts

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 11, 2023

@kaovilai: This pull request references OADP-1057 which is a valid jira issue.

In response to this:

⏯️ Testing instructions 🏈

TODO:

test image

ghcr.io/kaovilai/openshift-velero-plugin:sts

dpa

apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
 name: dpa-sample
spec:
 unsupportedOverrides:
   openshiftPluginImageFqin: ghcr.io/kaovilai/openshift-velero-plugin:sts

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 21, 2023

@kaovilai: This pull request references OADP-1057 which is a valid jira issue.

In response to this:

⏯️ Testing instructions 🏈

TODO:

test image

ghcr.io/kaovilai/openshift-velero-plugin:sts

dpa

apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
 name: dpa-sample
spec:
 unsupportedOverrides:
   openshiftPluginImageFqin: ghcr.io/kaovilai/openshift-velero-plugin:sts

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@kaovilai
Copy link
Member Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 21, 2023
@kaovilai
Copy link
Member Author

/cherry-pick oadp-1.2

@openshift-cherrypick-robot

@kaovilai: once the present PR merges, I will cherry-pick it on top of oadp-1.2 in a new PR and assign it to you.

In response to this:

/cherry-pick oadp-1.2

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci
Copy link

openshift-ci bot commented Aug 21, 2023

@kaovilai: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sseago
Copy link
Contributor

sseago commented Aug 22, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 22, 2023
@openshift-ci
Copy link

openshift-ci bot commented Aug 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaovilai, sseago

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 38fd1f4 into openshift:master Aug 22, 2023
3 checks passed
@openshift-cherrypick-robot

@kaovilai: new pull request created: #202

In response to this:

/cherry-pick oadp-1.2

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants