Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
/ gangway-theme Public archive

Lokomotive theme for the gangway

Notifications You must be signed in to change notification settings

kinvolk/gangway-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Pull the custom HTML templates with an initContainer into a emptyDir volume directory, for example /theme. The initContainer spec could look like:

      initContainers:
      - name: download-theme
        image: alpine/git:1.0.7
        command:
         - git
         - clone
         - "https://github.com/kinvolk/gangway-theme.git"
         - /theme
        volumeMounts:
        - name: theme
          mountPath: /theme/

Mount that emptyDir volume into your gangway container at /theme and point to the customHTMLTemplatesDir config parameter to it:

customHTMLTemplatesDir: "/theme"