Skip to main content
-2 votes
2 answers
97 views

I want to use gorazor a viewengine written in go that uses razor-Syntax. They provide an example which i tried to understand and adapt. What is working I want to iterate over a slices of movies and ...
surfmuggle's user avatar
  • 6,046
1 vote
1 answer
86 views

I've setup my handlers with little to no issue. At the moment I've got an index.html page - which I've defined as "index", and I've got a login.html page - which is just a dummy form. I ...
user avatar
2 votes
1 answer
119 views

I have a values.yaml file as follows: myTest: |- - name: app1 url: https://example.com/app1 - name: app2 url: https://example.com/app2 Now I want to deploy a Helm chart which has a ...
user1657425's user avatar
0 votes
0 answers
73 views

I encountered a weird situation in which a non-global configuration value from my own chart conflicts with one in the mysql subchart I reference. More specifically, the .Values.metrics.serviceMonitor ...
Riccardo T.'s user avatar
  • 8,927
0 votes
1 answer
81 views

I have defined a helm template like the one below to get a predefined set of private registries in values and create a dockerconfigjson type secret in the namespace if needed by copying the templates ...
Chamisxs's user avatar
-2 votes
2 answers
56 views

I'm trying to serve an html file with echo but whenever I run the program I get that panic error. // where: type TemplateRenderer struct { templates *template.Template } func genTemplate(path ...
m00nsh1n3's user avatar
1 vote
0 answers
114 views

I am creating helm template and try refrencing 2 variable both have dynamic value. template.yaml {{- define "lib.keys" }} {{- $top := .top }} {{ range $data_access := $top.Values....
Naveen Kumar's user avatar
  • 1,462
1 vote
2 answers
194 views

What I'm trying to achieve is using r.LoadHTMLGlob("./web/templates/**/*") and loading pages "dynamically". Both Go and Gin are very new to me, so I'm not sure what I'm doing is ...
Justin's user avatar
  • 143
0 votes
1 answer
96 views

I have the following in my values test: - a - b - c In my template, I have the following: {{- range $.Values.test }} ... someValue: {{ include "staticString" $ }} ... {{- end }} I ...
Dave L's user avatar
  • 57
0 votes
0 answers
58 views

I opened a Helm chart in IntelliJ and it's really neat, the Go Template plugin is substituting variable values in for their definition with this green highlighted background: And when I mouse-over 80 ...
Cory Klein's user avatar
  • 56.7k
0 votes
0 answers
101 views

With Argo Workflow I try to create a CronWorkflow who are scheduled once a day. I want send a parameter to my app in condition of day of the week like : kind: CronWorkflow spec: schedule: "0 10 ...
Erwan's user avatar
  • 1
-1 votes
1 answer
70 views

index.html: <h1>{{.Title}}</h1> <h2>{{.Greeting}}</h2> main.go: var templatePath = "templates/" var templates = template.Must(template.ParseGlob(templatePath + "...
khteh's user avatar
  • 4,290
1 vote
2 answers
99 views

I'd like to render a template with a struct containing a certain string field, say a Restaurant with a Name, such that if the Name is non-empty, it is printed on a line, but if it is empty, that line ...
Kurt Peek's user avatar
  • 58.6k
1 vote
0 answers
210 views

I am fetching multiple logs from Loki in Grafana, and I want to mask sensitive data (like IP addresses, email addresses, and names) before downloading the logs using the Grafana UI. The requirement is ...
TheArd's user avatar
  • 21
1 vote
1 answer
347 views

I am having trouble getting HTMX to swap out a div after receiving SSE. In Chrome I can clearly see the event was actually received. But HTMX doesn't seem to respond to it. What am I missing? The tab ...
ArrowOD's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
59