Skip to content

Commit ae6bba1

Browse files
chore: Update templated files (fb924df) (#761)
chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@fb924df Reference-to: stackabletech/operator-templating@fb924df (Write operator file logs to an emptyDir under /var/log, and complete the Artifact Hub metadata in Chart.yaml)
1 parent 460114c commit ae6bba1

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

‎deploy/helm/secret-operator/Chart.yaml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,27 @@ icon: https://raw.githubusercontent.com/stackabletech/secret-operator/main/.read
1212
sources:
1313
- https://github.com/stackabletech/secret-operator
1414
keywords: ["secrets", "tls", "kerberos", "csi", "kubernetes", "operator"]
15+
# Artifact Hub drops any maintainer entry that has no email.
1516
maintainers:
16-
- name: Stackable
17+
- name: Stackable GmbH
18+
email: info@stackable.tech
1719
url: https://www.stackable.tech
1820
# Consumed by Artifact Hub, see https://artifacthub.io/docs/topics/annotations/helm/
1921
annotations:
2022
# The chart package ships no LICENSE file, so Artifact Hub cannot detect this itself.
2123
artifacthub.io/license: OSL-3.0
24+
# Artifact Hub currently infers this from "operator" in the chart name but I don't want to rely on the heuristics.
25+
artifacthub.io/operator: "true"
26+
# Unset means Artifact Hub predicts a category from the keywords, which it gets wrong a lot for our stuff
27+
artifacthub.io/category: security
2228
# A link named "support" is rendered highlighted by Artifact Hub. Keep it lowercase.
2329
artifacthub.io/links: |
2430
- name: Documentation
2531
url: https://docs.stackable.tech/home/stable/secret-operator/
2632
- name: support
2733
url: https://github.com/stackabletech/secret-operator/issues
34+
- name: Operator image on quay.io
35+
url: https://quay.io/repository/stackable/sdp/secret-operator
2836
artifacthub.io/crds: |-
2937
- kind: SecretClass
3038
version: v1alpha2

‎deploy/helm/secret-operator/templates/_telemetry.tpl‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
{{/*
2+
Used by FILE_LOG_DIRECTORY and the log volume mount in deployment.yaml, which have to agree.
3+
*/}}
4+
{{- define "secret-operator.telemetry.fileLogDirectory" -}}
5+
/var/log/{{ include "secret-operator.appname" . }}
6+
{{- end }}
7+
18
{{/*
29
Create a list of telemetry related env vars.
310
*/}}
@@ -17,7 +24,7 @@ Create a list of telemetry related env vars.
1724
{{ end }}
1825
{{- if .fileLog.enabled }}
1926
- name: FILE_LOG_DIRECTORY
20-
value: /stackable/logs/{{ include "secret-operator.appname" $ }}
27+
value: {{ include "secret-operator.telemetry.fileLogDirectory" $ }}
2128
{{- end }}
2229
{{- if and .fileLog.enabled .fileLog.level }}
2330
- name: FILE_LOG_LEVEL

‎nix/meta.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)