kubectl create namespace immutakubectl config set-context --current --namespace=immutakubectl create secret docker-registry immuta-oci-registry \
--docker-server=https://ocir.immuta.com \
--docker-username="<username>" \
--docker-password="<token>" \
[email protected]master:
masterOnly: false
replicaCount: 1
data:
replicaCount: 0
coordinating:
replicaCount: 0
ingest:
replicaCount: 0helm install es-db oci://registry-1.docker.io/bitnamicharts/elasticsearch \
--values es-values.yamlauth:
database: immuta
username: immuta
password: <postgres-password>helm install pg-db oci://registry-1.docker.io/bitnamicharts/postgresql \
--values pg-values.yamlglobal:
imageRegistry: ocir.immuta.com
imagePullSecrets:
- name: immuta-oci-registry
imageRepositoryMap:
immuta/immuta-service: stable/immuta-service
immuta/immuta-db: stable/immuta-db
immuta/immuta-fingerprint: stable/immuta-fingerprint
immuta/audit-service: stable/audit-service
immuta/audit-export-cronjob: stable/audit-export-cronjob
immuta/classify-service: stable/classify-service
immuta/cache: stable/cache
audit:
config:
# Each Kubernetes Service has a DNS record associated with it. See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
# The anatomy of a domain name is as follows:
# <service>.<namespace>.svc.<cluster-domain>
#
# Where the default cluster domain is: cluster.local
databaseConnectionString: postgres://immuta:<postgres-password>@pg-db-postgresql.immuta.svc.cluster.local:5432/immuta?schema=audit
elasticsearchEndpoint: http://es-db-elasticsearch.immuta.svc.cluster.local:9200
elasticsearchUsername: <elasticsearch-username>
elasticsearchPassword: <elasticsearch-password>
secure:
ingress:
enabled: false
extraEnvVars:
- name: FeatureFlag_AuditService
value: "true"
- name: FeatureFlag_detect
value: "true"
- name: FeatureFlag_auditLegacyViewHide
value: "true"
postgresql:
# Each Kubernetes Service has a DNS record associated with it. See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
# The anatomy of a domain name is as follows:
# <service>.<namespace>.svc.<cluster-domain>
#
# Where the default cluster domain is: cluster.local
host: pg-db-postgresql.immuta.svc.cluster.local
port: 5432
database: immuta
username: immuta
password: <postgres-password>helm install immuta oci://ocir.immuta.com/stable/immuta-enterprise \
--values immuta-values.yaml \
--version 2024.2.20kubectl wait --for=condition=Ready pods --allkubectl get service --selector "app.kubernetes.io/component=secure" --output namekubectl port-forward service/<name> 8080:httpecho <token> | helm registry login --password-stdin --username <username> ocir.immuta.comkubectl wait --for=condition=Ready pods --allkubectl get pod --selector "app.kubernetes.io/name=postgresql" --output namekubectl exec --stdin --tty pod/<database-pod-name> -- psql -U immutaALTER ROLE immuta SET search_path TO bometadata,public;CREATE EXTENSION pgcrypto;secure:
extraEnvVars:
- name: FeatureFlag_auditLegacyViewHide
value: "false"audit:
deployment:
extraEnvVars:
- name: AUDIT_RETENTION_POLICY_IN_DAYS
value: "90"