mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-12 07:59:29 -05:00
s3proxy: remove unnecessary pull secret
This commit is contained in:
parent
a1c84cb080
commit
f696cb452b
@ -23,8 +23,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: filestash
|
app: filestash
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
|
||||||
- name: regcred
|
|
||||||
hostAliases:
|
hostAliases:
|
||||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||||
hostnames:
|
hostnames:
|
||||||
@ -54,6 +52,7 @@ If you followed the s3proxy [Deployment](../../workflows/s3proxy.md#deployment)
|
|||||||
|
|
||||||
To use other regions than `eu-west-1`, add more entries to `hostAliases` for all regions you require.
|
To use other regions than `eu-west-1`, add more entries to `hostAliases` for all regions you require.
|
||||||
Use the same IP for those entries. For example to add `us-east-1` add:
|
Use the same IP for those entries. For example to add `us-east-1` add:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||||
hostnames:
|
hostnames:
|
||||||
|
@ -23,8 +23,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: filestash
|
app: filestash
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
|
||||||
- name: regcred
|
|
||||||
hostAliases:
|
hostAliases:
|
||||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||||
hostnames:
|
hostnames:
|
||||||
@ -54,6 +52,7 @@ If you followed the s3proxy [Deployment](../../workflows/s3proxy.md#deployment)
|
|||||||
|
|
||||||
To use other regions than `eu-west-1`, add more entries to `hostAliases` for all regions you require.
|
To use other regions than `eu-west-1`, add more entries to `hostAliases` for all regions you require.
|
||||||
Use the same IP for those entries. For example to add `us-east-1` add:
|
Use the same IP for those entries. For example to add `us-east-1` add:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||||
hostnames:
|
hostnames:
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
The VPN is a feature of Constellation and will not be present by default in other environments.
|
The VPN is a feature of Constellation and will not be present by default in other environments.
|
||||||
|
|
||||||
Disclaimer: the following steps will be automated next.
|
Disclaimer: the following steps will be automated next.
|
||||||
|
|
||||||
- Within `constellation/build`: `bazel run //:devbuild`
|
- Within `constellation/build`: `bazel run //:devbuild`
|
||||||
- Copy the container name displayed for the s3proxy image. Look for the line starting with `[@//bazel/release:s3proxy_push]`.
|
- Copy the container name displayed for the s3proxy image. Look for the line starting with `[@//bazel/release:s3proxy_push]`.
|
||||||
- Replace the image key in `deployment-s3proxy.yaml` with the image value you just copied. Use the sha256 hash instead of the tag to make sure you use the latest image.
|
- Replace the image key in `deployment-s3proxy.yaml` with the image value you just copied. Use the sha256 hash instead of the tag to make sure you use the latest image.
|
||||||
@ -32,8 +33,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: filestash
|
app: filestash
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
|
||||||
- name: regcred
|
|
||||||
hostAliases:
|
hostAliases:
|
||||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||||
hostnames:
|
hostnames:
|
||||||
@ -60,4 +59,5 @@ $ kubectl apply -f deployment-filestash.yaml
|
|||||||
```
|
```
|
||||||
|
|
||||||
Afterwards you can use a port forward to access the Filestash pod:
|
Afterwards you can use a port forward to access the Filestash pod:
|
||||||
|
|
||||||
- `kubectl port-forward pod/$(kubectl get pod --selector='app=filestash' -o=jsonpath='{.items[*].metadata.name}') 8443:8443`
|
- `kubectl port-forward pod/$(kubectl get pod --selector='app=filestash' -o=jsonpath='{.items[*].metadata.name}') 8443:8443`
|
||||||
|
@ -43,8 +43,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: s3proxy
|
app: s3proxy
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
|
||||||
- name: regcred
|
|
||||||
containers:
|
containers:
|
||||||
- name: s3proxy
|
- name: s3proxy
|
||||||
image: ghcr.io/edgelesssys/constellation/s3proxy:v2.12.0
|
image: ghcr.io/edgelesssys/constellation/s3proxy:v2.12.0
|
||||||
|
Loading…
Reference in New Issue
Block a user