Skip to content

Commit

Permalink
fix ipsportal.yaml to work with development instance
Browse files Browse the repository at this point in the history
Signed-off-by: Lance-Drane <[email protected]>
  • Loading branch information
Lance-Drane committed Jun 20, 2024
1 parent d7826fa commit e8a2330
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ipsportal-secrets.yaml

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
4 changes: 3 additions & 1 deletion DeployingOnSpin.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ Create the `ipsportal` namespace:
rancher namespace create ipsportal
```

Set up secrets from example YAML file, update `ipsportal.yaml` before running, base64 encode, e.g. `echo -n "password" | base64`. Update bearer-token from https://rancher2.spin.nersc.gov/apikeys
- Copy `ipsportal-secrets-example.yaml` into `ipsportal-secrets.yaml`
- modify the values of each key with the base64-encoded values, e.g. `echo -n "password" | base64`
- Update bearer-token from https://rancher2.spin.nersc.gov/apikeys

Deploy:

Expand Down
3 changes: 2 additions & 1 deletion ipsportal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ spec:
spec:
containers:
- name: ipsportal
image: ghcr.io/hpc-simtools/ips-portal/ipsportal:latest
# use "latest" tag for production instance
image: ghcr.io/hpc-simtools/ips-portal/ipsportal:dev
imagePullPolicy: Always
envFrom:
- secretRef:
Expand Down

0 comments on commit e8a2330

Please sign in to comment.