Skip to content

Commit

Permalink
fix(dev): correct dev-environment setups
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Bähler <[email protected]>
  • Loading branch information
oliverbaehler authored Jul 9, 2024
1 parent cfb2c6c commit 446b8ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ dev-setup:
-config _tls.cnf \
-keyout /tmp/k8s-webhook-server/serving-certs/tls.key \
-out /tmp/k8s-webhook-server/serving-certs/tls.crt
kubectl create secret tls capsule-tls -n capsule-system \
--cert=/tmp/k8s-webhook-server/serving-certs/tls.crt\
--key=/tmp/k8s-webhook-server/serving-certs/tls.key || true
rm -f _tls.cnf
export WEBHOOK_URL="https://$${LAPTOP_HOST_IP}:9443"; \
export CA_BUNDLE=`openssl base64 -in /tmp/k8s-webhook-server/serving-certs/tls.crt | tr -d '\n'`; \
Expand Down
2 changes: 0 additions & 2 deletions charts/capsule/templates/configuration-default.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if not $.Values.crds.exclusive }}
apiVersion: capsule.clastix.io/v1beta2
kind: CapsuleConfiguration
metadata:
Expand All @@ -25,4 +24,3 @@ spec:
nodeMetadata:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

0 comments on commit 446b8ea

Please sign in to comment.