Compare commits
5 Commits
use-fleet
...
use-ranche
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bcdadb42d | ||
|
|
779f061554 | ||
|
|
b11b725713 | ||
|
|
4f2255c4b3 | ||
|
|
e46c18d86f |
2
.github/workflows/deploy-base.yaml
vendored
2
.github/workflows/deploy-base.yaml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Kubectl tool installer
|
- name: Kubectl tool installer
|
||||||
uses: Azure/setup-kubectl@v3
|
uses: azure/setup-kubectl@v3
|
||||||
|
|
||||||
- uses: azure/k8s-set-context@v3
|
- uses: azure/k8s-set-context@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -5,18 +5,17 @@ This document provides a brief description of the environment variables that are
|
|||||||
The following table lists the environment variables that are common to all DIT micro-service applications, along with their descriptions.
|
The following table lists the environment variables that are common to all DIT micro-service applications, along with their descriptions.
|
||||||
|
|
||||||
| Environment Variable | Description |
|
| Environment Variable | Description |
|
||||||
| :--------------------------- | :------------------------------------------------------------------------ |
|
| :---------------------------- | :------------------------------------------------------------------------ |
|
||||||
| CAS\_\_URL | URL for the Central Authentication Service (CAS) |
|
| CAS\_\_URL | URL for the Central Authentication Service (CAS) |
|
||||||
| CAS\_\_M2M_CLIENT_ID | Client ID for machine-to-machine authentication with the CAS |
|
| CAS\_\_M2M_CLIENT_ID | Client ID for machine-to-machine authentication with the CAS |
|
||||||
| CAS\_\_M2M_CLIENT_SECRET | Client secret for machine-to-machine authentication with the CAS |
|
| CAS\_\_M2M_CLIENT_SECRET | Client secret for machine-to-machine authentication with the CAS |
|
||||||
| DATABASE\_\_CONNECTIONSTRING | The connection string of database server |
|
| DATABASE\_\_CONNECTION_STRING | The connection string of database server |
|
||||||
| DATABASE\_\_URL | The URL format for the connection string of database server |
|
| DATABASE\_\_URL | The URL format for the connection string of database server |
|
||||||
| DATABASE\_\_HOST | The host name or IP address of the database server |
|
| DATABASE\_\_HOST | The host name or IP address of the database server |
|
||||||
| DATABASE\_\_USERNAME | The username for accessing the database |
|
| DATABASE\_\_USERNAME | The username for accessing the database |
|
||||||
| DATABASE\_\_PASSWORD | The password for accessing the database |
|
| DATABASE\_\_PASSWORD | The password for accessing the database |
|
||||||
| DATABASE\_\_NAME | The name of the database |
|
| DATABASE\_\_NAME | The name of the database |
|
||||||
| DATABASE\_\_PORT | The port number of the database server |
|
| DATABASE\_\_PORT | The port number of the database server |
|
||||||
| S3\_\_REGION | The AWS region of the S3 bucket |
|
|
||||||
| S3\_\_ENDPOINT | The endpoint URL of the S3 bucket |
|
| S3\_\_ENDPOINT | The endpoint URL of the S3 bucket |
|
||||||
| S3\_\_ACCESS_KEY_ID | The access key ID for accessing the S3 bucket |
|
| S3\_\_ACCESS_KEY_ID | The access key ID for accessing the S3 bucket |
|
||||||
| S3\_\_SECRET_ACCESS_KEY | The secret access key for accessing the S3 bucket |
|
| S3\_\_SECRET_ACCESS_KEY | The secret access key for accessing the S3 bucket |
|
||||||
@@ -24,6 +23,7 @@ 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 |
|
||||||
|
| 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 |
|
||||||
| REDIS_SENTINEL\_\_PASSWORD | The password for accessing the Redis Sentinel server |
|
| REDIS_SENTINEL\_\_PASSWORD | The password for accessing 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
|
||||||
Reference in New Issue
Block a user