Skip to content

Commit

Permalink
Merge pull request #111 from philips-labs/hotfix-k8s-service-dns-names
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen authored Jan 18, 2023
2 parents 937e896 + f35926e commit 5a17dbe
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .github/tests/spire-oidc-insecure/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
spiffe-oidc-discovery-provider:
enabled: true

insecureScheme:
enabled: true

config:
domains:
- oidc-discovery.example.org

acme:
tosAccepted: true
2 changes: 1 addition & 1 deletion charts/spire/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ description: |
- --service-account-signing-key-file=/run/config/pki/sa.key
```
type: application
version: 0.11.0
version: 0.11.1
appVersion: "1.5.4"
keywords: ["spiffe", "spire", "spire-server", "spire-agent", "oidc", "spire-controller-manager"]
home: https://github.com/philips-labs/helm-charts/tree/main/charts/spire
Expand Down
2 changes: 1 addition & 1 deletion charts/spire/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- This README.md is generated. -->

![Version: 0.11.0](https://img.shields.io/badge/Version-0.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.4](https://img.shields.io/badge/AppVersion-1.5.4-informational?style=flat-square)
![Version: 0.11.1](https://img.shields.io/badge/Version-0.11.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.4](https://img.shields.io/badge/AppVersion-1.5.4-informational?style=flat-square)

A Helm chart for deploying spire-server and spire-agent.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ data:
domains = [
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}",
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.svc.cluster.local",
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}",
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local",
{{- if gt (len .Values.config.domains) 0 }}
"{{- join "\",\n \"" .Values.config.domains }}"
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ metadata:
"helm.sh/hook": test
spec:
containers:
- name: wget
- name: wget-service-name
image: busybox
command: ['wget']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}:{{ .Values.service.port }}/.well-known/openid-configuration']
- name: wget-service-name-namespace
image: busybox
command: ['wget']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}:{{ .Values.service.port }}/.well-known/openid-configuration']
- name: wget-service-name-namespace-svc-cluster-local
image: busybox
command: ['wget']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.port }}/.well-known/openid-configuration']
restartPolicy: Never

0 comments on commit 5a17dbe

Please sign in to comment.