Skip to content

Commit

Permalink
Merge pull request #96 from metal3d/develop
Browse files Browse the repository at this point in the history
Fixing docs
  • Loading branch information
metal3d authored Dec 5, 2024
2 parents 0986f73 + d27ed76 commit c97b398
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,13 @@ services:
katenary.v3/ingress: |-
hostname: myapp.example.com
port: 80
# make adaptations, DB_HOST environment is actually the service name
katenary.v3/map-env: |-
# make adaptations, DB_HOST environment is actually the service name
DB_HOST: '{{ .Release.Name }}-database'
# get the values from the "database" service
# this will use the database secrets and environment,
# see the "database" service to see the values
katenary.v3/values-from: |-
# get the values from the "database" service
# this will use the databas secret, see below
DB_USER: databse.MARIADB_USER
DB_PASSWORD: database.MARIADB_PASSWORD
Expand Down
4 changes: 2 additions & 2 deletions generator/labels/katenaryLabelsDoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@
MARIADB_USER: myuser
MARIADB_PASSWORD: mypassword
labels:
# it can be a secret
# we can declare secrets
{{ .KatenaryPrefix }}/secrets: |-
- DB_PASSWORD
- MARIADB_PASSWORD
php:
image: php:7.4-fpm
environment:
Expand Down

0 comments on commit c97b398

Please sign in to comment.