Skip to content

Conversation

@mglotov
Copy link
Contributor

@mglotov mglotov commented Nov 24, 2021

PR Description

│ Error: Forbidden attribute key in "manifest" value
│
│   with kubernetes_manifest.prometheus-operator_crds["alertmanagerconfigs.monitoring.coreos.com"],
│   on eks-prometheus-operator-crds.tf line 21, in resource "kubernetes_manifest" "prometheus-operator_crds":
│   21: resource "kubernetes_manifest" "prometheus-operator_crds" {
│
│ 'status' attribute key is not allowed in manifest configuration

It describes here hashicorp/terraform-provider-kubernetes#1428.

That's why I switched from kubernetes provider to kubectl provider. It supports additional functionality https://github.com/gavinbunney/terraform-provider-kubectl/blob/15de61bb38d402fff44db5ea6b1cc8d43aea579a/docs/resources/kubectl_manifest.md#ignore-manifest-fields

Fixes #145

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

@mglotov mglotov requested review from a team, halfb00t, khalezin and p1gmale0n November 24, 2021 08:39
@mglotov mglotov requested a review from halfb00t November 24, 2021 11:33
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mglotov mglotov merged commit fbadca7 into main Nov 25, 2021
@mglotov mglotov deleted the feat/victoriametrics branch November 25, 2021 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: have possibility to install VictoriaMetrics instead of Prometheus

4 participants