File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ export class MicrocksContainer extends GenericContainer {
113113 for ( let i = 0 ; i < this . snapshots . length ; i ++ ) {
114114 await startedContainer . importSnapshot ( this . snapshots [ i ] ) ;
115115 }
116+ // Load secrets before artifacts.
117+ for ( let i = 0 ; i < this . secrets . length ; i ++ ) {
118+ await startedContainer . createSecret ( this . secrets [ i ] ) ;
119+ }
116120 // Load remote artifacts before local ones.
117121 for ( let i = 0 ; i < this . mainRemoteArtifacts . length ; i ++ ) {
118122 const { url, secretName } = this . extractArtifactInfo ( this . mainRemoteArtifacts [ i ] ) ;
@@ -129,9 +133,6 @@ export class MicrocksContainer extends GenericContainer {
129133 for ( let i = 0 ; i < this . secondaryArtifacts . length ; i ++ ) {
130134 await startedContainer . importAsSecondaryArtifact ( this . secondaryArtifacts [ i ] ) ;
131135 }
132- for ( let i = 0 ; i < this . secrets . length ; i ++ ) {
133- await startedContainer . createSecret ( this . secrets [ i ] ) ;
134- }
135136
136137 return startedContainer ;
137138 }
You can’t perform that action at this time.
0 commit comments