Skip to content

Commit

Permalink
Config (#1)
Browse files Browse the repository at this point in the history
* create ns

* values

* shrink

* shrink

* nodeport

* ci
  • Loading branch information
james-otten authored Aug 17, 2024
1 parent c67f57e commit 821a9ed
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 12 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/deploy-influxdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- james/influxdb

permissions: read-all

Expand All @@ -15,13 +14,13 @@ jobs:
with:
environment: dev3
secrets: inherit
#if: github.ref == 'refs/heads/main'

deploy_to_prod1:
name: Deploy to prod 1
needs: deploy_to_dev3
uses: ./.github/workflows/helm-deploy.yaml
with:
environment: prod1
secrets: inherit
if: github.ref == 'refs/heads/main'

# deploy_to_prod1:
# name: Deploy to prod 1
# needs: deploy_to_dev3
# uses: ./.github/workflows/helm-deploy.yaml
# with:
# environment: prod1
# secrets: inherit
# if: github.ref == 'refs/heads/main'
2 changes: 2 additions & 0 deletions .github/workflows/helm-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ jobs:
--kubeconfig ./config \
--kube-apiserver https://${{ secrets.SSH_TARGET_IP }}:6443 \
-f ./influxdb/${{ inputs.environment }}.values.yaml \
--create-namespace \
--set adminUser.password="${{ secrets.INFLUXDB_ADMIN_PASSWORD }}" \
-n ${{ vars.APP_NAMESPACE }}
8 changes: 7 additions & 1 deletion influxdb/dev3.values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# :)
# :)
persistence:
size: 2Gi

service:
type: NodePort
nodePort: 30086
8 changes: 7 additions & 1 deletion influxdb/prod1.values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# :)
# :)
persistence:
size: 5Gi

service:
type: NodePort
nodePort: 30086

0 comments on commit 821a9ed

Please sign in to comment.