-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julien Bouquillon
authored
Sep 1, 2023
1 parent
bd07add
commit c04b3cd
Showing
6 changed files
with
116 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"type": "object", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Kontinuous oauth2-proxy helm chart", | ||
"markdownDescription": "The [oauth2-proxy chart](https://github.com/SocialGouv/kontinuous/blob/master/plugins/contrib/charts/oauth2-proxy) provide a configured proxy to protect your application using the awesome [oauth2-proxy](https://oauth2-proxy.github.io/)\n\n💡 You can use the [meta `~tpl~` prefix](https://socialgouv.github.io/kontinuous/#/./advanced/build?id=meta-values-plugin-tpl) to make any property a [go template](https://docs.gofiber.io/template/html/TEMPLATES_CHEATSHEET/#template-variables)", | ||
"required": ["upstream"], | ||
"properties": { | ||
"namespace": { | ||
"type": ["string", "null"], | ||
"title": "resources namespace" | ||
}, | ||
"host": { | ||
"type": ["string", "null"], | ||
"title": "ingress host" | ||
}, | ||
"env": { | ||
"$ref": "https://raw.githubusercontent.com/ad-m/kubernetes-json-schema/master/master-standalone-strict/_definitions.json#/definitions/io.k8s.api.core.v1.Container/properties/env" | ||
}, | ||
"envFrom": { | ||
"$ref": "https://raw.githubusercontent.com/ad-m/kubernetes-json-schema/master/master-standalone-strict/_definitions.json#/definitions/io.k8s.api.core.v1.Container/properties/envFrom" | ||
}, | ||
"ingress": { | ||
"type": "object", | ||
"title": "The great NGINX ingress controller : https://kubernetes.github.io/ingress-nginx/user-guide", | ||
"required": [], | ||
"properties": { | ||
"enabled": { | ||
"type": ["boolean"], | ||
"title": "enable ingress", | ||
"default": "true" | ||
}, | ||
"annotations": { | ||
"title": "ingress annotations see https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations", | ||
"$ref": "https://raw.githubusercontent.com/SocialGouv/json-schemas/main/nginx/annotations.schema.json" | ||
} | ||
} | ||
}, | ||
"upstream": { | ||
"type": ["string"], | ||
"title": "Upstream service to protect, example: http://my-app" | ||
}, | ||
"additionalArgs": { | ||
"type": ["array"], | ||
"title": "Additionnal oauth2-proxy arguments, see https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview#command-line-options" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
enabled: | ||
# yaml-language-server: $schema=./values.schema.json | ||
|
||
# @param {string,null} [namespace] resources namespace | ||
namespace: | ||
# @param {string,null} [host] ingress host | ||
host: | ||
rancherProjectId: my-cluser-id:my-project-id | ||
isProd: false | ||
isPreProd: false | ||
# @param {https://raw.githubusercontent.com/ad-m/kubernetes-json-schema/master/master-standalone-strict/_definitions.json#/definitions/io.k8s.api.core.v1.Container/properties/env} [env] | ||
env: [] | ||
# @param {https://raw.githubusercontent.com/ad-m/kubernetes-json-schema/master/master-standalone-strict/_definitions.json#/definitions/io.k8s.api.core.v1.Container/properties/envFrom} [envFrom] | ||
envFrom: [] | ||
|
||
# @param {object,null} [ingress] The greet NGINX ingress consoller : https://kubernetes.github.io/ingress-nginx/user-guide | ||
ingress: | ||
# @param {boolean} [enabled] enable ingress | ||
enabled: true | ||
# @param {https://raw.githubusercontent.com/SocialGouv/json-schemas/main/nginx/annotations.schema.json} [annotations] ingress annotations see https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations | ||
annotations: {} | ||
upstream: | ||
|
||
# @param {string} upstream Upstream service to protect, example: http://my-app | ||
upstream: | ||
|
||
# @param {array} [additionalArgs] Additionnal oauth2-proxy arguments, see https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview#command-line-options | ||
additionalArgs: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters