Skip to content

Commit

Permalink
Rename ramen s3 secret
Browse files Browse the repository at this point in the history
We need to add a velero s3 secret for the velero bucket. Rename the
ramen s3 secret to so we can have consistent and clear names.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Jun 2, 2023
1 parent 032ffec commit c19a452
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ramenctl/ramenctl/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def run(args):
command.info("Creating s3 secret in ramen hub namespace")
kubectl.apply(
"--filename",
command.resource("s3-secret.yaml"),
command.resource("ramen-s3-secret.yaml"),
context=env["hub"],
log=command.debug,
)
Expand Down
4 changes: 2 additions & 2 deletions ramenctl/ramenctl/resources/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ data:
s3CompatibleEndpoint: $minio_url_dr1
s3Region: us-west-1
s3SecretRef:
name: s3secret
name: ramen-s3
namespace: ramen-system
- s3ProfileName: minio-on-dr2
s3Bucket: bucket
s3CompatibleEndpoint: $minio_url_dr2
s3Region: us-east-1
s3SecretRef:
name: s3secret
name: ramen-s3
namespace: ramen-system
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
apiVersion: v1
kind: Secret
metadata:
name: s3secret
name: ramen-s3
namespace: ramen-system
stringData:
AWS_ACCESS_KEY_ID: minio
Expand Down
2 changes: 1 addition & 1 deletion ramenctl/ramenctl/unconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def run(args):
command.info("Deleting s3 secret in ramen hub namespace")
kubectl.delete(
"--filename",
command.resource("s3-secret.yaml"),
command.resource("ramen-s3-secret.yaml"),
"--ignore-not-found",
context=env["hub"],
log=command.debug,
Expand Down

0 comments on commit c19a452

Please sign in to comment.