Skip to content

Commit 7185e9c

Browse files
authored
fix: remove internal refs (#12)
1 parent 1a61ceb commit 7185e9c

File tree

7 files changed

+5
-20
lines changed

7 files changed

+5
-20
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
# Terraform IBM Observability agents module
44

5-
[![Incubating (Not yet consumable)](https://img.shields.io/badge/status-Incubating%20(Not%20yet%20consumable)-red)](https://terraform-ibm-modules.github.io/documentation/#/badge-status)
6-
[![Build status](https://github.com/terraform-ibm-modules/terraform-ibm-module-template/actions/workflows/ci.yml/badge.svg)](https://github.com/terraform-ibm-modules/terraform-ibm-module-template/actions/workflows/ci.yml)
5+
[![Stable (With quality checks)](https://img.shields.io/badge/Status-Stable%20(With%20quality%20checks)-green)](https://terraform-ibm-modules.github.io/documentation/#/badge-status)
6+
[![Build status](https://github.com/terraform-ibm-modules/terraform-ibm-observability-agents/actions/workflows/ci.yml/badge.svg)](https://github.com/terraform-ibm-modules/terraform-ibm-observability-agents/actions/workflows/ci.yml)
77
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
8-
[![latest release](https://img.shields.io/github/v/release/terraform-ibm-modules/terraform-ibm-module-template?logo=GitHub&sort=semver)](https://github.com/terraform-ibm-modules/terraform-ibm-module-template/releases/latest)
8+
[![latest release](https://img.shields.io/github/v/release/terraform-ibm-modules/terraform-ibm-observability-agents?logo=GitHub&sort=semver)](https://github.com/terraform-ibm-modules/terraform-ibm-observability-agents/releases/latest)
99
[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)
1010
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
1111

chart/logdna-agent/templates/daemonset.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,12 @@ spec:
5353
{{- end }}
5454
- name: LOGDNA_LOOKBACK
5555
value: smallfiles
56-
{{- if eq .Values.env.sts_exists true }}
57-
- name: LOGDNA_ENDPOINT
58-
value: /supertenant/logs/ingest
59-
{{- end }}
6056
- name: LOGDNA_DB_PATH
6157
value: /var/lib/logdna
6258
- name: POD_APP_LABEL
6359
valueFrom:
6460
fieldRef:
6561
fieldPath: metadata.labels['app.kubernetes.io/name']
66-
{{- if and (eq .Values.env.sts_exists true) (eq .Values.metadata.name "logdna-agent-sts") }}
67-
- name: LOGDNA_EXCLUDE
68-
value: /var/log/at/**
69-
{{- end }}
7062
- name: POD_NAME
7163
valueFrom:
7264
fieldRef:

chart/logdna-agent/templates/secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if or (eq .Values.metadata.name "logdna-agent") (eq .Values.metadata.name "logdna-agent-sts") }}
1+
{{- if (eq .Values.metadata.name "logdna-agent") }}
22
apiVersion: v1
33
data:
44
logdna-agent-key: '{{ required "LogDNA Ingest key must be provided" .Values.secret.key | b64enc }}'

chart/logdna-agent/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ image:
77
registry: icr.io
88
env:
99
region: "ca-tor"
10-
sts_exists: false
1110
secret:
1211
name: "logdna-agent"
1312
key: ""

main.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ resource "helm_release" "logdna_agent" {
9090
type = "string"
9191
value = data.ibm_resource_instance.logdna_instance[0].location
9292
}
93-
set {
94-
name = "env.sts_exists"
95-
type = "auto"
96-
value = false
97-
}
9893
set {
9994
name = "secret.name"
10095
type = "string"

module-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
},
201201
"pos": {
202202
"filename": "main.tf",
203-
"line": 121
203+
"line": 116
204204
}
205205
}
206206
},

tests/pr_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ var ignoreUpdates = []string{
1717
"module.observability_agents.helm_release.logdna_agent[0]",
1818
"module.observability_agents.helm_release.sysdig_agent[0]",
1919
"module.observability_agents.helm_release.logdna_agent_activity_tracker[0]",
20-
"module.observability_agents.helm_release.logdna_sts_agent[0]",
2120
}
2221

2322
var sharedInfoSvc *cloudinfo.CloudInfoService

0 commit comments

Comments
 (0)