File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ step "deploy-kubernetes-yaml" {
2+ name = "Deploy Kubernetes YAML"
3+ properties = {
4+ Octopus.Action.TargetRoles = "k8s-demo"
5+ }
6+
7+ action {
8+ action_type = "Octopus.KubernetesDeployRawYaml"
9+ properties = {
10+ Octopus.Action.GitRepository.FilePathFilters = "demo-frontend/demo-frontend.yaml"
11+ Octopus.Action.GitRepository.Source = "Project"
12+ Octopus.Action.Kubernetes.DeploymentTimeout = "180"
13+ Octopus.Action.Kubernetes.ResourceStatusCheck = "True"
14+ Octopus.Action.Kubernetes.ServerSideApply.Enabled = "True"
15+ Octopus.Action.Kubernetes.ServerSideApply.ForceConflicts = "True"
16+ Octopus.Action.KubernetesContainers.CustomResourceYamlFileName = "demo-frontend/demo-frontend.yaml"
17+ Octopus.Action.KubernetesContainers.Namespace = "zerotohero-#[Octopus.Environment.Name}"
18+ Octopus.Action.Package.JsonConfigurationVariablesTargets = "**/*.{yml,yaml}"
19+ Octopus.Action.Script.ScriptSource = "GitRepository"
20+ }
21+
22+ packages "octopus-zero-to-hero_demo-frontend" {
23+ acquisition_location = "NotAcquired"
24+ feed = "github-containers"
25+ package_id = "octopussolutionsengineering/octopus-zero-to-hero/demo-frontend"
26+ properties = {
27+ Extract = "False"
28+ Purpose = "DockerImageReference"
29+ SelectionMode = "immediate"
30+ }
31+ }
32+ }
33+ }
You can’t perform that action at this time.
0 commit comments