Compare commits
3 Commits
main
...
use-ranche
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bcdadb42d | ||
|
|
779f061554 | ||
|
|
b11b725713 |
4
.github/workflows/deploy-base.yaml
vendored
4
.github/workflows/deploy-base.yaml
vendored
@ -22,7 +22,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
runs-on: [self-hosted, ubuntu-jammy, public]
|
runs-on: ubuntu-20.04
|
||||||
environment:
|
environment:
|
||||||
url: ${{ inputs.env_url }}
|
url: ${{ inputs.env_url }}
|
||||||
name: ${{ inputs.env_name }}
|
name: ${{ inputs.env_name }}
|
||||||
@ -33,8 +33,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Kubectl tool installer
|
- name: Kubectl tool installer
|
||||||
uses: azure/setup-kubectl@v3
|
uses: azure/setup-kubectl@v3
|
||||||
with:
|
|
||||||
version: v1.25.8
|
|
||||||
|
|
||||||
- uses: azure/k8s-set-context@v3
|
- uses: azure/k8s-set-context@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -23,8 +23,6 @@ The following table lists the environment variables that are common to all DIT m
|
|||||||
| S3\_\_UPLOADS_API_BUCKET | The name of the S3 bucket used for storing uploaded files via Uploads API |
|
| S3\_\_UPLOADS_API_BUCKET | The name of the S3 bucket used for storing uploaded files via Uploads API |
|
||||||
| SIDEKIQ\_\_USERNAME | The username for accessing the Sidekiq web interface |
|
| SIDEKIQ\_\_USERNAME | The username for accessing the Sidekiq web interface |
|
||||||
| SIDEKIQ\_\_PASSWORD | The password for accessing the Sidekiq web interface |
|
| SIDEKIQ\_\_PASSWORD | The password for accessing the Sidekiq web interface |
|
||||||
| SIDEKIQ\_\_REDIS_URL | The URL of the redis database used by the Sidekiq web interface |
|
|
||||||
| REDIS\_\_URL | The URL format for the connection string of redis database server |
|
|
||||||
| REDIS\_\_CONNECTION_STRING | The connection string of redis database server |
|
| REDIS\_\_CONNECTION_STRING | The connection string of redis database server |
|
||||||
| REDIS_SENTINEL\_\_HOST | The host name or IP address of the Redis Sentinel server |
|
| REDIS_SENTINEL\_\_HOST | The host name or IP address of the Redis Sentinel server |
|
||||||
| REDIS_SENTINEL\_\_PORT | The port number of the Redis Sentinel server |
|
| REDIS_SENTINEL\_\_PORT | The port number of the Redis Sentinel server |
|
||||||
|
|||||||
@ -9,3 +9,6 @@ patches:
|
|||||||
- path: patches/ingress-host.yaml
|
- path: patches/ingress-host.yaml
|
||||||
target:
|
target:
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
- path: patches/deployment.yaml
|
||||||
|
target:
|
||||||
|
kind: Deployment
|
||||||
|
|||||||
6
kubernetes/development/patches/deployment.yaml
Normal file
6
kubernetes/development/patches/deployment.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- op: replace
|
||||||
|
path: /spec/template/spec/containers/0/image
|
||||||
|
value: reg.dev.krd/dit-docs/dsm-client:dev
|
||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/containers/0/imagePullPolicy
|
||||||
|
value: Always
|
||||||
16
kubernetes/fleet.yaml
Normal file
16
kubernetes/fleet.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
namespace: dit-docs
|
||||||
|
|
||||||
|
targetCustomizations:
|
||||||
|
- name: development
|
||||||
|
clusterSelector:
|
||||||
|
matchLabels:
|
||||||
|
env: dev
|
||||||
|
kustomize:
|
||||||
|
dir: development
|
||||||
|
|
||||||
|
- name: production
|
||||||
|
clusterSelector:
|
||||||
|
matchLabels:
|
||||||
|
env: prod
|
||||||
|
kustomize:
|
||||||
|
dir: production
|
||||||
Loading…
Reference in New Issue
Block a user