3 Commits

Author SHA1 Message Date
Shakar
6bcdadb42d Adds fleet.yaml
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 10:35:00 +03:00
Shakar
779f061554 Add image name and pullPolicy patch to dev
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 10:34:34 +03:00
Shakar
b11b725713 Uses lowercase for github action name
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 10:34:00 +03:00
7 changed files with 34 additions and 58 deletions

View File

@@ -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:

View File

@@ -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 |

View File

@@ -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

View 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
View 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

59
package-lock.json generated
View File

@@ -11,7 +11,7 @@
"@docusaurus/core": "2.0.0-beta.15", "@docusaurus/core": "2.0.0-beta.15",
"@docusaurus/preset-classic": "2.0.0-beta.15", "@docusaurus/preset-classic": "2.0.0-beta.15",
"@mdx-js/react": "^1.6.21", "@mdx-js/react": "^1.6.21",
"clsx": "^2.0.0", "clsx": "^1.1.1",
"prism-react-renderer": "^1.2.1", "prism-react-renderer": "^1.2.1",
"react": "^17.0.1", "react": "^17.0.1",
"react-dom": "^17.0.1" "react-dom": "^17.0.1"
@@ -2318,14 +2318,6 @@
"react-dom": "^16.8.4 || ^17.0.0" "react-dom": "^16.8.4 || ^17.0.0"
} }
}, },
"node_modules/@docusaurus/theme-classic/node_modules/clsx": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
"integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
"engines": {
"node": ">=6"
}
},
"node_modules/@docusaurus/theme-common": { "node_modules/@docusaurus/theme-common": {
"version": "2.0.0-beta.15", "version": "2.0.0-beta.15",
"resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.0.0-beta.15.tgz", "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.0.0-beta.15.tgz",
@@ -2348,14 +2340,6 @@
"react-dom": "^16.8.4 || ^17.0.0" "react-dom": "^16.8.4 || ^17.0.0"
} }
}, },
"node_modules/@docusaurus/theme-common/node_modules/clsx": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
"integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
"engines": {
"node": ">=6"
}
},
"node_modules/@docusaurus/theme-search-algolia": { "node_modules/@docusaurus/theme-search-algolia": {
"version": "2.0.0-beta.15", "version": "2.0.0-beta.15",
"resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-beta.15.tgz", "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-beta.15.tgz",
@@ -2384,14 +2368,6 @@
"react-dom": "^16.8.4 || ^17.0.0" "react-dom": "^16.8.4 || ^17.0.0"
} }
}, },
"node_modules/@docusaurus/theme-search-algolia/node_modules/clsx": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
"integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
"engines": {
"node": ">=6"
}
},
"node_modules/@docusaurus/theme-translations": { "node_modules/@docusaurus/theme-translations": {
"version": "2.0.0-beta.15", "version": "2.0.0-beta.15",
"resolved": "https://registry.npmjs.org/@docusaurus/theme-translations/-/theme-translations-2.0.0-beta.15.tgz", "resolved": "https://registry.npmjs.org/@docusaurus/theme-translations/-/theme-translations-2.0.0-beta.15.tgz",
@@ -4385,9 +4361,9 @@
} }
}, },
"node_modules/clsx": { "node_modules/clsx": {
"version": "2.0.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz", "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz",
"integrity": "sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==", "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==",
"engines": { "engines": {
"node": ">=6" "node": ">=6"
} }
@@ -14344,13 +14320,6 @@
"prismjs": "^1.23.0", "prismjs": "^1.23.0",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"rtlcss": "^3.3.0" "rtlcss": "^3.3.0"
},
"dependencies": {
"clsx": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
"integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="
}
} }
}, },
"@docusaurus/theme-common": { "@docusaurus/theme-common": {
@@ -14365,13 +14334,6 @@
"parse-numeric-range": "^1.3.0", "parse-numeric-range": "^1.3.0",
"tslib": "^2.3.1", "tslib": "^2.3.1",
"utility-types": "^3.10.0" "utility-types": "^3.10.0"
},
"dependencies": {
"clsx": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
"integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="
}
} }
}, },
"@docusaurus/theme-search-algolia": { "@docusaurus/theme-search-algolia": {
@@ -14393,13 +14355,6 @@
"lodash": "^4.17.20", "lodash": "^4.17.20",
"tslib": "^2.3.1", "tslib": "^2.3.1",
"utility-types": "^3.10.0" "utility-types": "^3.10.0"
},
"dependencies": {
"clsx": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
"integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="
}
} }
}, },
"@docusaurus/theme-translations": { "@docusaurus/theme-translations": {
@@ -15938,9 +15893,9 @@
} }
}, },
"clsx": { "clsx": {
"version": "2.0.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz", "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz",
"integrity": "sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==" "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA=="
}, },
"collapse-white-space": { "collapse-white-space": {
"version": "1.0.6", "version": "1.0.6",

View File

@@ -17,7 +17,7 @@
"@docusaurus/core": "2.0.0-beta.15", "@docusaurus/core": "2.0.0-beta.15",
"@docusaurus/preset-classic": "2.0.0-beta.15", "@docusaurus/preset-classic": "2.0.0-beta.15",
"@mdx-js/react": "^1.6.21", "@mdx-js/react": "^1.6.21",
"clsx": "^2.0.0", "clsx": "^1.1.1",
"prism-react-renderer": "^1.2.1", "prism-react-renderer": "^1.2.1",
"react": "^17.0.1", "react": "^17.0.1",
"react-dom": "^17.0.1" "react-dom": "^17.0.1"