mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-24 13:39:27 +08:00
Filter imagePullSecrets to contain only non-empty values (#14)
This commit is contained in:
committed by
Deepak Sattiraju
parent
26d4801e5e
commit
2a3bf64395
@@ -4,7 +4,7 @@ import * as core from '@actions/core';
|
||||
|
||||
export let namespace: string = core.getInput('namespace');
|
||||
export const containers: string[] = core.getInput('images').split('\n');
|
||||
export const imagePullSecrets: string[] = core.getInput('imagepullsecrets').split('\n');
|
||||
export const imagePullSecrets: string[] = core.getInput('imagepullsecrets').split('\n').filter(secret => secret.trim().length > 0);
|
||||
export const manifests = core.getInput('manifests').split('\n');
|
||||
export const canaryPercentage: string = core.getInput('percentage');
|
||||
export const deploymentStrategy: string = core.getInput('strategy');
|
||||
|
||||
Reference in New Issue
Block a user