Skip to content

Commit 8eb3b7a

Browse files
committed
rename secret properties name
1 parent a0cdd8c commit 8eb3b7a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/main/kotlin/com/cosmotech/api/config/CsmPlatformProperties.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,11 @@ data class CsmPlatformProperties(
277277
/** Don't try to use node selector to schedule argo workflows */
278278
val ignoreNodeSelector: Boolean = false,
279279

280-
/** enable secret mount on workflow */
281-
val mountSecret: Boolean = false,
282-
283280
/** Info on k8s secret to mount on workflow */
284-
val secrets: List<ArgoSecrets> = emptyList()
281+
val secrets: List<ExtraSecrets> = emptyList()
285282
) {
286-
data class ArgoSecrets(val name: String, val keyPath: List<ArgoKeyPath>) {
287-
data class ArgoKeyPath(val key: String, val path: String)
283+
data class ExtraSecrets(val name: String, val keyPath: List<KeyPath>) {
284+
data class KeyPath(val key: String, val path: String)
288285
}
289286
}
290287
}

0 commit comments

Comments
 (0)