mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 15:09:39 -05:00
s3proxy: remove unnecessary pull secret
This commit is contained in:
parent
a1c84cb080
commit
f696cb452b
@ -23,8 +23,6 @@ spec:
|
||||
labels:
|
||||
app: filestash
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
hostAliases:
|
||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||
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.
|
||||
Use the same IP for those entries. For example to add `us-east-1` add:
|
||||
|
||||
```yaml
|
||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||
hostnames:
|
||||
|
@ -23,8 +23,6 @@ spec:
|
||||
labels:
|
||||
app: filestash
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
hostAliases:
|
||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||
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.
|
||||
Use the same IP for those entries. For example to add `us-east-1` add:
|
||||
|
||||
```yaml
|
||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||
hostnames:
|
||||
|
@ -4,6 +4,7 @@
|
||||
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.
|
||||
|
||||
- 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]`.
|
||||
- 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:
|
||||
app: filestash
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
hostAliases:
|
||||
- ip: $(kubectl get svc s3proxy-service -o=jsonpath='{.spec.clusterIP}')
|
||||
hostnames:
|
||||
@ -60,4 +59,5 @@ $ kubectl apply -f deployment-filestash.yaml
|
||||
```
|
||||
|
||||
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`
|
||||
|
@ -43,8 +43,6 @@ spec:
|
||||
labels:
|
||||
app: s3proxy
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
containers:
|
||||
- name: s3proxy
|
||||
image: ghcr.io/edgelesssys/constellation/s3proxy:v2.12.0
|
||||
|
Loading…
Reference in New Issue
Block a user