Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save antigenius0910/ed538adefee5507a202cde2f32d64c35 to your computer and use it in GitHub Desktop.
Save antigenius0910/ed538adefee5507a202cde2f32d64c35 to your computer and use it in GitHub Desktop.
Second, create origin-ca-issuer-crds
variable "manifestversion" {
type = string
description = "origin-ca-issuer CustomResourceDefinition resources version"
default = "v0.6.1"
}
data "http" "manifestfile" {
url = "https://raw.githubusercontent.com/cloudflare/origin-ca-issuer/${var.manifestversion}/deploy/crds/cert-manager.k8s.cloudflare.com_originissuers.yaml"
}
resource "kubectl_manifest" "origin-ca-issuer-crds" {
yaml_body = data.http.manifestfile.body
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment