5 Commits

Author SHA1 Message Date
Shakar
24c1d7b69c Adds production environment to fleet.yaml
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-05 12:01:52 +03:00
Shakar
6639d3102c Revert "Deletes tests-base"
This reverts commit 96829dfef3.
2023-04-05 12:00:41 +03:00
Shakar
d7978ddb3d Adds github actions
This reverts commit c280c53d76.

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-05 12:00:28 +03:00
Shakar
96829dfef3 Deletes tests-base
Update dependabot
Adds production to fleet.yaml
This reverts commit 4e8bdaabde.

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-04 17:11:42 +03:00
Shakar
c280c53d76 Deploy using Rancher Fleet
This reverts commit a700e397a8.

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-04 17:07:16 +03:00
5 changed files with 39 additions and 49 deletions

View File

@@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v3
- name: Kubectl tool installer
uses: azure/setup-kubectl@v3
uses: Azure/setup-kubectl@v3
- uses: azure/k8s-set-context@v3
with:

View File

@@ -4,44 +4,44 @@ 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.
| Environment Variable | Description |
| :---------------------------- | :------------------------------------------------------------------------ |
| 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_SECRET | Client secret for machine-to-machine authentication with the CAS |
| DATABASE\_\_CONNECTION_STRING | 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\_\_USERNAME | The username for accessing the database |
| DATABASE\_\_PASSWORD | The password for accessing the database |
| DATABASE\_\_NAME | The name of the database |
| DATABASE\_\_PORT | The port number of the database server |
| S3\_\_ENDPOINT | The endpoint URL of 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\_\_SELF_BUCKET | The name of the S3 bucket used for storing self-related files |
| 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\_\_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\_\_PORT | The port number of the Redis Sentinel server |
| REDIS_SENTINEL\_\_PASSWORD | The password for accessing the Redis Sentinel server |
| REDIS_SENTINEL\_\_MASTER | The name of the Redis Sentinel master |
| REDIS\_\_PASSWORD | The password for accessing the Redis server |
| REDIS\_\_DB | The number of the Redis database |
| SIDEKIQ\_\_REDIS_DB | The number of the Redis database for Sidekiq |
| SENTRY\_\_DSN | The data source name (DSN) for Sentry error tracking |
| SENTRY\_\_TRACE_RATE | The sampling rate for Sentry performance tracing |
| SENTRY\_\_ENVIRONMENT | The environment name for Sentry error tracking |
| GATEWAY\_\_CERTIFICATE | The certificate file for accessing the gateway service |
| RABBITMQ\_\_URL | The URL the RabbitMQ server |
| RABBITMQ\_\_HOST | The host name or IP address of the RabbitMQ server |
| RABBITMQ\_\_PORT | The port number of the RabbitMQ server |
| RABBITMQ\_\_VHOST | The virtual host name of the RabbitMQ server |
| RABBITMQ\_\_USERNAME | The username for accessing the RabbitMQ server |
| RABBITMQ\_\_PASSWORD | The password for accessing the RabbitMQ server |
| RABBITMQ\_\_EXCHANGE_NAME | The name of the exchange for RabbitMQ server |
| Environment Variable | Description |
| :--------------------------- | :------------------------------------------------------------------------ |
| 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_SECRET | Client secret for machine-to-machine authentication with the CAS |
| DATABASE\_\_CONNECTIONSTRING | 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\_\_USERNAME | The username for accessing the database |
| DATABASE\_\_PASSWORD | The password for accessing the database |
| DATABASE\_\_NAME | The name of the database |
| 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\_\_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\_\_SELF_BUCKET | The name of the S3 bucket used for storing self-related files |
| 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\_\_PASSWORD | The password for accessing the Sidekiq web interface |
| 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\_\_PASSWORD | The password for accessing the Redis Sentinel server |
| REDIS_SENTINEL\_\_MASTER | The name of the Redis Sentinel master |
| REDIS\_\_PASSWORD | The password for accessing the Redis server |
| REDIS\_\_DB | The number of the Redis database |
| SIDEKIQ\_\_REDIS_DB | The number of the Redis database for Sidekiq |
| SENTRY\_\_DSN | The data source name (DSN) for Sentry error tracking |
| SENTRY\_\_TRACE_RATE | The sampling rate for Sentry performance tracing |
| SENTRY\_\_ENVIRONMENT | The environment name for Sentry error tracking |
| GATEWAY\_\_CERTIFICATE | The certificate file for accessing the gateway service |
| RABBITMQ\_\_URL | The URL the RabbitMQ server |
| RABBITMQ\_\_HOST | The host name or IP address of the RabbitMQ server |
| RABBITMQ\_\_PORT | The port number of the RabbitMQ server |
| RABBITMQ\_\_VHOST | The virtual host name of the RabbitMQ server |
| RABBITMQ\_\_USERNAME | The username for accessing the RabbitMQ server |
| RABBITMQ\_\_PASSWORD | The password for accessing the RabbitMQ server |
| RABBITMQ\_\_EXCHANGE_NAME | The name of the exchange for RabbitMQ server |
## Environment Variables for Micro-Service Applications

View File

@@ -9,6 +9,3 @@ patches:
- path: patches/ingress-host.yaml
target:
kind: Ingress
- path: patches/deployment.yaml
target:
kind: Deployment

View File

@@ -1,6 +0,0 @@
- 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

View File

@@ -7,7 +7,6 @@ targetCustomizations:
env: dev
kustomize:
dir: development
- name: production
clusterSelector:
matchLabels: