Skip to content

Commit

Permalink
Merge pull request #3 from xoap-io/dev
Browse files Browse the repository at this point in the history
build: updated to latest snapshot
  • Loading branch information
bbrauneck authored Dec 8, 2023
2 parents c78d74d + db54bca commit 9b517f5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ resource "kubernetes_manifest" "argo_application" {
"metadata.labels",
"metadata.annotations",
"metadata.finalizers",
"spec.source.helm.version"
"spec.source.helm.version",
"spec.source.helm.parameters"

]
field_manager {
# force field manager conflicts to be overridden
Expand All @@ -24,6 +26,7 @@ resource "kubernetes_manifest" "argo_application" {
namespace = var.argocd_namespace
labels = local.labels
finalizers = var.cascade_delete == true ? ["resources-finalizer.argocd.argoproj.io"] : []
annotations = var.annotations
}
spec = {
project = var.project
Expand Down Expand Up @@ -64,4 +67,6 @@ resource "kubernetes_manifest" "argo_application" {
ignoreDifferences = var.ignore_differences
}
}


}
3 changes: 3 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
output "app" {
value = kubernetes_manifest.argo_application
}
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ variable "argocd_namespace" {
type = string
description = "The name of the target ArgoCD Namespace"
}
variable "annotations" {
type = map(string)
description = "Additional annotations to add to the kubernetes manifest"
}
variable "repo_url" {
type = string
description = "Source of the Helm application manifests"
Expand Down

0 comments on commit 9b517f5

Please sign in to comment.