-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Bump ai-navigator-cluster-info chart version to 0.2.9
- Loading branch information
1 parent
09693a3
commit d299a04
Showing
7 changed files
with
267 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: ai-navigator-app | ||
namespace: ${releaseNamespace} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: ai-navigator-app | ||
rules: | ||
- apiGroups: ["kommander.mesosphere.io"] | ||
resources: ["licenses"] | ||
verbs: ["get", "list"] | ||
- apiGroups: [""] | ||
resources: ["secrets", "nodes"] | ||
verbs: ["get", "list"] | ||
- apiGroups: [ "apiextensions.k8s.io" ] | ||
resources: [ "customresourcedefinitions" ] | ||
verbs: ["get", "list"] | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: ai-navigator-app | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: ai-navigator-app | ||
subjects: | ||
- kind: ServiceAccount | ||
name: ai-navigator-app | ||
namespace: ${releaseNamespace} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: ai-navigator-app-config | ||
namespace: ${releaseNamespace} | ||
data: | ||
CHATBOT_URL: "https://chatbot.api.d2iq.com/v1/chat" | ||
AUTHORIZER_URL: "https://auth.api.d2iq.com" | ||
LICENSE_NAMESPACE: ${releaseNamespace} | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: ai-navigator-app | ||
namespace: ${releaseNamespace} | ||
labels: | ||
app: ai-navigator-app | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: ai-navigator-app | ||
template: | ||
metadata: | ||
labels: | ||
app: ai-navigator-app | ||
spec: | ||
priorityClassName: dkp-high-priority | ||
serviceAccountName: ai-navigator-app | ||
containers: | ||
- name: ai-navigator-app | ||
image: mesosphere/ai-navigator-app:v0.2.0 | ||
envFrom: | ||
- configMapRef: | ||
name: ai-navigator-app-config | ||
ports: | ||
- containerPort: 8080 | ||
name: http | ||
readinessProbe: | ||
httpGet: | ||
path: /healthz | ||
port: 8080 | ||
scheme: HTTP | ||
livenessProbe: | ||
httpGet: | ||
path: /healthz | ||
port: 8080 | ||
scheme: HTTP | ||
initialDelaySeconds: 60 | ||
timeoutSeconds: 30 | ||
failureThreshold: 10 | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 256Mi | ||
limits: | ||
cpu: 300m | ||
memory: 256Mi | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: true | ||
runAsNonRoot: true | ||
seccompProfile: | ||
type: RuntimeDefault | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: ai-navigator-app | ||
namespace: ${releaseNamespace} | ||
spec: | ||
selector: | ||
app: ai-navigator-app | ||
ports: | ||
- name: service-port | ||
protocol: TCP | ||
port: 80 | ||
targetPort: http |
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,95 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: ai-navigator-app-0.2.9-d2iq-defaults | ||
namespace: ${releaseNamespace} | ||
data: | ||
values.yaml: | | ||
priorityClassName: dkp-high-priority | ||
# api.enabled enables the collector service as a whole - will not install anything if set to false | ||
api: | ||
enabled: true | ||
record_manager: | ||
driver_name: "postgresql" | ||
username: "postgres" | ||
port: 5432 | ||
database: record-manager | ||
# Default values for subcharts | ||
weaviate: | ||
enabled: true | ||
globalPriorityClassName: dkp-high-priority | ||
service: | ||
type: ClusterIP | ||
initContainers: | ||
sysctlInitContainer: | ||
image: | ||
tag: 3.20.3 | ||
storage: | ||
size: 5Gi | ||
postgresql: | ||
enabled: true | ||
primary: | ||
priorityClassName: dkp-high-priority | ||
initdb: | ||
scriptsConfigMap: ai-navigator-cluster-info-api-postgresql-initdb | ||
readReplicas: | ||
priorityClassName: dkp-high-priority | ||
# Default values for cluster-info-api | ||
replicaCount: 1 | ||
image: | ||
pullPolicy: IfNotPresent | ||
imagePullSecrets: [] | ||
nameOverride: "" | ||
fullnameOverride: "" | ||
serviceAccount: | ||
# Specifies whether a service account should be created | ||
create: true | ||
# Annotations to add to the service account | ||
annotations: {} | ||
# The name of the service account to use. | ||
# If not set and create is true, a name is generated using the fullname template | ||
name: "" | ||
podAnnotations: {} | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: false | ||
allowPrivilegeEscalation: false | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
service: | ||
type: ClusterIP | ||
port: 8080 | ||
resources: | ||
limits: | ||
cpu: 4000m | ||
memory: 4Gi | ||
requests: | ||
cpu: 250m | ||
memory: 1Gi | ||
initContainerResources: | ||
limits: | ||
cpu: 500m | ||
memory: 4Gi | ||
requests: | ||
cpu: 100m | ||
memory: 1Gi | ||
nodeSelector: {} | ||
tolerations: [] | ||
affinity: {} | ||
kubectlImage: ${kubetoolsImageRepository:=bitnami/kubectl}:${kubetoolsImageTag:=1.30.5} |
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,5 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- cm.yaml |
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,20 @@ | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: ai-navigator-app-helmrelease | ||
namespace: ${releaseNamespace} | ||
spec: | ||
force: false | ||
interval: 6h | ||
path: ./services/ai-navigator-app/0.2.9/helmrelease | ||
postBuild: | ||
substitute: | ||
releaseNamespace: ${releaseNamespace} | ||
prune: true | ||
retryInterval: 1m | ||
sourceRef: | ||
kind: GitRepository | ||
name: management | ||
namespace: kommander-flux | ||
timeout: 1m | ||
wait: true |
26 changes: 26 additions & 0 deletions
26
services/ai-navigator-app/0.2.9/helmrelease/helmrelease.yaml
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,26 @@ | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta2 | ||
kind: HelmRelease | ||
metadata: | ||
name: ai-navigator-app | ||
namespace: ${releaseNamespace} | ||
spec: | ||
chart: | ||
spec: | ||
chart: ai-navigator-cluster-info-api | ||
sourceRef: | ||
kind: HelmRepository | ||
name: mesosphere.github.io-ai-navigator-cluster-info-api-charts | ||
namespace: kommander-flux | ||
version: 0.2.9 | ||
install: | ||
remediation: | ||
retries: 30 | ||
interval: 15s | ||
releaseName: ai-navigator-cluster-info-api | ||
targetNamespace: ${releaseNamespace} | ||
upgrade: | ||
remediation: | ||
retries: 30 | ||
valuesFrom: | ||
- kind: ConfigMap | ||
name: ai-navigator-app-0.2.9-d2iq-defaults |
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,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ai-navigator-app.yaml | ||
- helmrelease.yaml |