Skip to content

Commit

Permalink
update: cert-manager to v1.15.3 (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroniscode authored Sep 9, 2024
1 parent adf0309 commit 5ff7bbb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
4 changes: 2 additions & 2 deletions cmd/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/awslabs/eksdemo/pkg/application/autoscaling/cluster_autoscaler"
awslbc "github.com/awslabs/eksdemo/pkg/application/aws/lbc"
"github.com/awslabs/eksdemo/pkg/application/aws_fluent_bit"
"github.com/awslabs/eksdemo/pkg/application/cert_manager"
"github.com/awslabs/eksdemo/pkg/application/certmanager"
"github.com/awslabs/eksdemo/pkg/application/cilium"
"github.com/awslabs/eksdemo/pkg/application/consul"
"github.com/awslabs/eksdemo/pkg/application/coredumphandler"
Expand Down Expand Up @@ -52,7 +52,7 @@ func NewInstallCmd() *cobra.Command {
cmd.AddCommand(NewInstallAliasCmds(autoscalingApps, "as-")...)
cmd.AddCommand(aws_fluent_bit.NewApp().NewInstallCmd())
cmd.AddCommand(awslbc.NewApp().NewInstallCmd())
cmd.AddCommand(cert_manager.NewApp().NewInstallCmd())
cmd.AddCommand(certmanager.NewApp().NewInstallCmd())
cmd.AddCommand(cilium.NewApp().NewInstallCmd())
cmd.AddCommand(consul.NewApp().NewInstallCmd())
cmd.AddCommand(NewInstallContainerInsightsCmd())
Expand Down
4 changes: 2 additions & 2 deletions cmd/install/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/awslabs/eksdemo/pkg/application/autoscaling/cluster_autoscaler"
awslbc "github.com/awslabs/eksdemo/pkg/application/aws/lbc"
"github.com/awslabs/eksdemo/pkg/application/aws_fluent_bit"
"github.com/awslabs/eksdemo/pkg/application/cert_manager"
"github.com/awslabs/eksdemo/pkg/application/certmanager"
"github.com/awslabs/eksdemo/pkg/application/cilium"
"github.com/awslabs/eksdemo/pkg/application/consul"
"github.com/awslabs/eksdemo/pkg/application/coredumphandler"
Expand Down Expand Up @@ -52,7 +52,7 @@ func NewUninstallCmd() *cobra.Command {
cmd.AddCommand(NewUninstallAliasCmds(autoscalingApps, "as-")...)
cmd.AddCommand(aws_fluent_bit.NewApp().NewUninstallCmd())
cmd.AddCommand(awslbc.NewApp().NewUninstallCmd())
cmd.AddCommand(cert_manager.NewApp().NewUninstallCmd())
cmd.AddCommand(certmanager.NewApp().NewUninstallCmd())
cmd.AddCommand(cilium.NewApp().NewUninstallCmd())
cmd.AddCommand(consul.NewApp().NewUninstallCmd())
cmd.AddCommand(NewUninstallContainerInsightsCmd())
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cert_manager
package certmanager

import (
"github.com/awslabs/eksdemo/pkg/application"
Expand All @@ -13,10 +13,10 @@ import (
// GitHub: https://github.com/cert-manager/cert-manager
// Helm: https://github.com/cert-manager/cert-manager/tree/master/deploy/charts/cert-manager
// Repo: quay.io/jetstack/cert-manager-controller
// Version: Latest is v1.12.1 (as of 5/30/23)
// Version: Latest is v1.15.3 (as of 9/8/24)

func NewApp() *application.Application {
app := &application.Application{
return &application.Application{
Command: cmd.Command{
Name: "cert-manager",
Description: "Cloud Native Certificate Management",
Expand All @@ -40,10 +40,10 @@ func NewApp() *application.Application {
ServiceAccount: "cert-manager",
DefaultVersion: &application.LatestPrevious{
// For Helm Chart version: https://artifacthub.io/packages/helm/cert-manager/cert-manager
LatestChart: "1.12.1",
Latest: "v1.12.1",
PreviousChart: "1.11.0",
Previous: "v1.11.0",
LatestChart: "1.15.3",
Latest: "v1.15.3",
PreviousChart: "1.12.1",
Previous: "v1.12.1",
},
},

Expand All @@ -60,20 +60,22 @@ func NewApp() *application.Application {
clusterIssuer(),
},
}
return app
}

// https://github.com/cert-manager/cert-manager/blob/master/deploy/charts/cert-manager/values.yaml
const valuesTemplate = `---
installCRDs: true
crds:
enabled: true
replicaCount: 1
image:
tag: {{ .Version }}
serviceAccount:
name: {{ .ServiceAccount }}
annotations:
{{ .IrsaAnnotation }}
image:
tag: {{ .Version }}
`

// https://github.com/cert-manager/website/blob/master/content/docs/configuration/acme/dns01/route53.md#set-up-an-iam-role
const policyDocument = `
Version: '2012-10-17'
Statement:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cert_manager
package certmanager

import (
"github.com/awslabs/eksdemo/pkg/manifest"
Expand Down

0 comments on commit 5ff7bbb

Please sign in to comment.