Skip to content

Commit

Permalink
make volume optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rain-on committed Nov 25, 2024
1 parent 726bf5b commit 25925d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected override IList<V1Volume> CreateVolumes(StartKubernetesScriptCommandV1
Name = "agent-upgrade",
Secret = new V1SecretVolumeSource
{
SecretName = "agent-upgrade-secret,
SecretName = "agent-upgrade-secret",
Items = new List<V1KeyToPath>()
{
new()
Expand All @@ -95,6 +95,7 @@ protected override IList<V1Volume> CreateVolumes(StartKubernetesScriptCommandV1
Path = "config.json"
}
},
Optional = true,
},
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ protected virtual IList<V1Volume> CreateVolumes(StartKubernetesScriptCommandV1 c
Path = "config.json"
}
},
Optional = true,
},
},
};
Expand Down

0 comments on commit 25925d2

Please sign in to comment.