File tree Expand file tree Collapse file tree
templates/featuresets/opscenter-security/cert-manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -435,8 +435,19 @@ func (a AceOptionsSpec) DevDeployment() bool {
435435 strings .HasSuffix (a .InitialSetup .Admin .Email , "@appscode.com" )
436436}
437437
438+ // +kubebuilder:validation:Enum=Create;Reconfigure;Upgrade;PromoteToProd
439+ type ActionType string
440+
441+ const (
442+ ActionTypeCreate ActionType = "Create"
443+ ActionTypeReconfigure ActionType = "Reconfigure"
444+ ActionTypeUpgrade ActionType = "Upgrade"
445+ ActionTypePromoteToProd ActionType = "PromoteToProd"
446+ )
447+
438448type AceDeploymentContext struct {
439449 DeploymentType DeploymentType `json:"deploymentType"`
450+ ActionType ActionType `json:"actionType"`
440451 InstallerName string `json:"installerName"`
441452 UploadID string `json:"uploadID"`
442453 Version string `json:"version"`
Original file line number Diff line number Diff line change 8888 dependsOn:
8989 - name: opscenter-features
9090 namespace: {{ $.Release.Namespace }}
91+ {{- if eq (include "distro.openshift" $) "false" }}
9192 - name: gateway-api
9293 namespace: {{ $.Release.Namespace }}
94+ {{- end }}
9395 chart:
9496 spec:
9597 chart: cert-manager
Original file line number Diff line number Diff line change 7878 gateway-api :
7979 enabled : true
8080 version : " v2025.3.14"
81+ gateway-api-crds :
82+ enabled : true
83+ version : v1.4.1
8184 kubedb :
8285 enabled : true
8386 version : " v2026.2.26"
Original file line number Diff line number Diff line change @@ -113,6 +113,13 @@ properties:
113113 type : object
114114 context :
115115 properties :
116+ actionType :
117+ enum :
118+ - Create
119+ - Reconfigure
120+ - Upgrade
121+ - PromoteToProd
122+ type : string
116123 adminPassword :
117124 type : string
118125 backupPassword :
@@ -320,6 +327,7 @@ properties:
320327 version :
321328 type : string
322329 required :
330+ - actionType
323331 - deploymentType
324332 - inboxServer
325333 - installerName
You can’t perform that action at this time.
0 commit comments