File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ inputs:
2020 repository-username :
2121 description : Helm repo username
2222 required : false
23+ repository-password :
24+ description : Helm repo password
25+ required : false
2326 values :
2427 description : Helm chart values, expected to be a YAML or JSON string.
2528 required : false
@@ -54,10 +57,6 @@ inputs:
5457 schema-location :
5558 description : addition json openapi schema locations for validate
5659 required : false
57- secrets :
58- repository-password :
59- description : Helm repo password
60- required : false
6160runs :
6261 using : docker
6362 image : Dockerfile
Original file line number Diff line number Diff line change @@ -114,17 +114,6 @@ function getInput(name, options) {
114114 return val ;
115115}
116116
117- function getInputSecrets ( name , options ) {
118- let val = core . getSecrets ( name . replace ( "_" , "-" ) , {
119- ...options ,
120- required : false
121- } ) ;
122- if ( options && options . required && ! val ) {
123- throw new Error ( `Secret required and not supplied: ${ name } ` ) ;
124- }
125- return val ;
126- }
127-
128117/**
129118 * Render files renders data into the list of provided files.
130119 * @param {Array<string> } files
@@ -180,7 +169,7 @@ async function run() {
180169 const timeout = getInput ( "timeout" ) ;
181170 const repository = getInput ( "repository" ) ;
182171 const repositoryUsername = getInput ( "repository_username" ) ;
183- const repositoryPassword = getInputSecrets ( "repository_password" ) ;
172+ const repositoryPassword = getInput ( "repository_password" ) ;
184173 const dryRun = core . getInput ( "dry-run" ) ;
185174 const secrets = getSecrets ( core . getInput ( "secrets" ) ) ;
186175 const atomic = getInput ( "atomic" ) || true ;
You can’t perform that action at this time.
0 commit comments