This commit is contained in:
parent
0eca198481
commit
3b98d47665
@ -83,6 +83,21 @@ spec:
|
|||||||
value: https://walias-msergo.codemowers.ee
|
value: https://walias-msergo.codemowers.ee
|
||||||
- name: NODE_ENV
|
- name: NODE_ENV
|
||||||
value: prod
|
value: prod
|
||||||
|
- name: WILDDUCK_URL
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: walias-secrets
|
||||||
|
key: WILDDUCK_URL
|
||||||
|
- name: WILDDUCK_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: walias-secrets
|
||||||
|
key: WILDDUCK_TOKEN
|
||||||
|
- name: WILDDUCK_DOMAIN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: walias-secrets
|
||||||
|
key: WILDDUCK_DOMAIN
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: oidc-client-walias-owner-secrets
|
name: oidc-client-walias-owner-secrets
|
||||||
|
@ -58,7 +58,7 @@ export class AliasesService<ServiceParams extends AliasesParams = AliasesParams>
|
|||||||
const aliasFirstPart = faker.animal.crocodilia()
|
const aliasFirstPart = faker.animal.crocodilia()
|
||||||
.replace(/\D/, '')
|
.replace(/\D/, '')
|
||||||
.replace(/\s/, '')
|
.replace(/\s/, '')
|
||||||
.slice(10);
|
.slice(0, 10);
|
||||||
|
|
||||||
const aliasSecondPart = faker.git.commitSha({ length: 5 });
|
const aliasSecondPart = faker.git.commitSha({ length: 5 });
|
||||||
const alias = `${aliasFirstPart}-${aliasSecondPart}@${config.get('wildDuck.domain')}`;
|
const alias = `${aliasFirstPart}-${aliasSecondPart}@${config.get('wildDuck.domain')}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user