Skip to content

Commit

Permalink
Update namespace for PV, PVC, and creds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjones committed Nov 18, 2021
1 parent 48a70c4 commit 7ae1bc2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ postgres_password=pg-pw-goes-here-00
then you should be able to create the secret by running:

```sh
kubectl create secret generic credentials --from-env-file ./credentials.txt
kubectl create secret generic credentials -n index-monitor --from-env-file ./credentials.txt
```

## Helm Chart Installation
Expand Down
6 changes: 3 additions & 3 deletions credentials.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template credentials file for creating secrets
# Do not leave this plain text file lying around with sensitive data -- delete it once secrets are created
# Create secrets with a command like:
# kubectl create secret generic credentials --from-env-file ./credentials.txt
grafana_password=gf-pw-goes-here-22
postgres_password=pg-pw-goes-here-00
# kubectl create secret generic credentials -n index-monitor --from-env-file ./credentials.txt
grafana_password=gf-pw-goes-here-22
postgres_password=pg-pw-goes-here-00
4 changes: 2 additions & 2 deletions index-monitor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.0
version: 0.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.12.0"
appVersion: "0.13.0"
1 change: 1 addition & 0 deletions utils/timedb-pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: timedb-volume
namespace: index-monitor
spec:
storageClassName: "hostpath"
capacity:
Expand Down
1 change: 1 addition & 0 deletions utils/timedb-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: timedb-pv-claim
namespace: index-monitor
spec:
storageClassName: "hostpath"
accessModes:
Expand Down

0 comments on commit 7ae1bc2

Please sign in to comment.