Coder Social home page Coder Social logo

radicale-k8s's Introduction

Radicale CalDAV/CardDAV (Kubernetes Edition)

This repository contains some simple Kubernetes resources for spinning up a Radicale CalDAV/CardDAV server. Depends on https://github.com/tomsquest/docker-radicale.

Prerequisites

First we need to setup the authentication file for the users of radicale. The authentication in radicale itself is disabled. Instead we use the ingress controller for HTTP basic authentication. The ingress controller accepts a secret containing htpasswd-style data. This is what we create now (replace my-username with your username):

$ htpasswd -c auth my-username
New password: 
Re-type new password: 
Adding password for user my-username

This creates the file auth which we need to convert into base64 now:

$ cat auth | base64
bXktdXNlcm5hbWU6JGFwcjEkTXdMd09IMk4kZW1rci94MDhITU93UHZOZVI3YUd5MAo=

Now replace [base64] in the secret 02-secret-basic-auth.yaml with the base64 string:

apiVersion: v1
kind: Secret
metadata:
  name: basic-auth
  namespace: radicale
type: Opaque
data:
  auth: bXktdXNlcm5hbWU6JGFwcjEkTXdMd09IMk4kZW1rci94MDhITU93UHZOZVI3YUd5MAo=

Deploy

First ensure the steps described above are fulfilled. Then apply the resources:

$ kubectl apply -f .
namespace/radicale created
configmap/config created
secret/basic-auth created
persistentvolumeclaim/radicale-collections-pvc created
deployment.apps/radicale created
service/radicale created
ingress.extensions/radicale created

Interesting resources

The following resources helped building this repository:

License

MIT

radicale-k8s's People

Contributors

h3ndrk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.